summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/test-shrink-bug.ll
Commit message (Collapse)AuthorAge
* Fix the x86 test-shrink optimization so that it doesn't shrink comparisonsDan Gohman2009-10-09
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83670 91177308-0d34-0410-b5e6-96231b3b80d8