diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-03-04 10:06:52 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-03-04 10:06:52 +0000 |
commit | 786792784e898f29febb3e7270d54b0e21e3c904 (patch) | |
tree | f78e6e1fe0cbd54096297b2eb788daf50719d749 /lib/CodeGen/SplitKit.cpp | |
parent | 3a73e343d02ba3a00adf03311183cc0ccc960978 (diff) |
Fold "icmp pred (srem X, Y), Y" like we do for urem. Handle signed comparisons
in the urem case, though not the other way around. This is enough to get #3 from
PR9343!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126991 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SplitKit.cpp')
0 files changed, 0 insertions, 0 deletions