diff options
author | Sanjay Patel <spatel@rotateright.com> | 2017-09-11 19:42:41 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2017-09-11 19:42:41 +0000 |
commit | a36eb77118d1c834d97c40779dd1ebbfac2fc677 (patch) | |
tree | a21a904c67c8489721897a1f2814f29be07919bf /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 87d1f9ce935f2b2c39bf2d543755a5702f7cdbcc (diff) | |
download | llvm-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