Skip to content
Commit 7d9dffb4 authored by Dan Gohman's avatar Dan Gohman
Browse files

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
parent 35b6173a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment