commit | 32b8a7a9198b3808a10f7a8860f4699d70034a73 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Thu Sep 14 14:09:11 2017 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Thu Sep 14 14:09:11 2017 +0000 |
tree | 6517914cf63cac02cdcbc87ec098a72746287550 | |
parent | da89c085121ffd258e3b6e798cf7372f438cce5b [diff] |
[InstSimplify] clean up div/rem handling; NFCI The idea to make an 'isDivZero' helper was suggested for the signed case in D37713: https://reviews.llvm.org/D37713 This clean-up makes it clear that D37713 is just filling the gap for signed div/rem, removes unnecessary code, and allows us to remove a bit of duplicated code from the planned improvement in D37713. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313261 91177308-0d34-0410-b5e6-96231b3b80d8