aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-09-11 19:42:41 +0000
committerSanjay Patel <spatel@rotateright.com>2017-09-11 19:42:41 +0000
commita36eb77118d1c834d97c40779dd1ebbfac2fc677 (patch)
treea21a904c67c8489721897a1f2814f29be07919bf /llvm/lib/CodeGen/MachineScheduler.cpp
parent87d1f9ce935f2b2c39bf2d543755a5702f7cdbcc (diff)
downloadllvm-a36eb77118d1c834d97c40779dd1ebbfac2fc677.zip
llvm-a36eb77118d1c834d97c40779dd1ebbfac2fc677.tar.gz
llvm-a36eb77118d1c834d97c40779dd1ebbfac2fc677.tar.bz2
[InstSimplify] add tests for possible sdiv/srem simplifications; NFC
As noted in PR34517, the handling of signed div/rem is not on par with unsigned div/rem. Signed is harder to reason about, but it should be possible to handle at least some of these using the same technique that we use for unsigned: use icmp logic to see if there's a relationship between the quotient and divisor. llvm-svn: 312938
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions