summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-03-04 10:06:52 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-03-04 10:06:52 +0000
commit786792784e898f29febb3e7270d54b0e21e3c904 (patch)
treef78e6e1fe0cbd54096297b2eb788daf50719d749 /lib/CodeGen/MachineInstr.cpp
parent3a73e343d02ba3a00adf03311183cc0ccc960978 (diff)
downloadllvm-786792784e898f29febb3e7270d54b0e21e3c904.tar.gz
llvm-786792784e898f29febb3e7270d54b0e21e3c904.tar.bz2
llvm-786792784e898f29febb3e7270d54b0e21e3c904.tar.xz
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/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions