diff options
author | Dan Gohman <gohman@apple.com> | 2009-10-09 20:35:19 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-10-09 20:35:19 +0000 |
commit | 7d9dffb4136892b49b523cf9bc897dd4959a5445 (patch) | |
tree | cbf28ef8e17fb68727ecd1ccd2215b1a6badd2a7 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 35b6173a1790f65a319d5973b4fa7797044cbefd (diff) | |
download | bcm5719-llvm-7d9dffb4136892b49b523cf9bc897dd4959a5445.tar.gz bcm5719-llvm-7d9dffb4136892b49b523cf9bc897dd4959a5445.zip |
Fix the x86 test-shrink optimization so that it doesn't shrink comparisons
when one of the bits being tested would end up being the sign bit in the
narrower type, and a signed comparison is being performed, since this would
change the result of the signed comparison. This fixes PR5132.
llvm-svn: 83670
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions