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 | 11596ed43c5eb3b8a49f563abdbdb7ea54fec991 (patch) | |
tree | f0257363f319352fa9243e8650cc0a8582992427 /test/CodeGen/X86/fold-sext-trunc.ll | |
parent | 83815aeb29fbc642cb5f84347d2bccd1faa1d45a (diff) | |
download | external_llvm-11596ed43c5eb3b8a49f563abdbdb7ea54fec991.zip external_llvm-11596ed43c5eb3b8a49f563abdbdb7ea54fec991.tar.gz external_llvm-11596ed43c5eb3b8a49f563abdbdb7ea54fec991.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83670 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fold-sext-trunc.ll')
0 files changed, 0 insertions, 0 deletions