Add more comments and update to new asm syntax.
authorNick Lewycky <nicholas@mxc.ca>
Fri, 16 Mar 2007 02:37:39 +0000 (02:37 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 16 Mar 2007 02:37:39 +0000 (02:37 +0000)
commit4c70875774e504ace6c7facfb6d49bd9116e6630
treeb813a81bef9efb132042b8ede0d617b152b72548
parent74027e98f1127fd7a91305e7fa7876f15c1c4e59
Add more comments and update to new asm syntax.

Add new micro-optimizations.

Add icmp predicate snuggling. Given %x ULT 4, "icmp ugt %x, 2" becomes
"icmp eq %x, 3". This doesn't apply in any non-trivial cases yet due to missing
support for NE values in ValueRanges.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35119 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/PredicateSimplifier.cpp