Skip to content
Commit 1a7ed586 authored by Nick Lewycky's avatar Nick Lewycky
Browse files

Make the 'icmp pred trunc(ext(X)), CST --> icmp pred X, ext(trunc(CST))'

transformation much more careful. Truncating binary '01' to '1' sounds like it's
safe until you realize that it switched from positive to negative under a signed
interpretation, and that depends on the icmp predicate.

Also a few miscellaneous cleanups.

llvm-svn: 97721
parent 391aad63
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