diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-08-30 11:23:20 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-08-30 11:23:20 +0000 |
commit | 639570c3117aaabb0c97b34a9bf05d09f8903ef4 (patch) | |
tree | a844659e4411dc7c722bc16c130f349d5d0667b4 /lib/CodeGen/MachineInstr.cpp | |
parent | c4a32e6596f3974a6c00322db1f5f31ea448bd58 (diff) |
It is illegal to transform (sdiv (ashr X c1) c2) -> (sdiv x (2^c1 * c2)),
because C always rounds towards zero.
Thanks Dirk and Ben.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162899 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions