Nick Lewycky
|
149cbc2a24
|
Peer through zext and sext to eliminate them when it is safe to do so.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82389 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-09-20 07:31:25 +00:00 |
|
Nick Lewycky
|
85958b059d
|
Fold 'icmp eq (icmp), true' into an xor(icmp).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82386 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-09-20 07:21:39 +00:00 |
|
Nick Lewycky
|
04d7eed1d5
|
Rewrite this check so that it checks what it's supposed to and doesn't use
CHECK-NOT.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82383 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-09-20 07:00:24 +00:00 |
|
Nick Lewycky
|
3105ebfaf7
|
Teach the constant folder how to not a cmpinst.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82378 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-09-20 06:24:51 +00:00 |
|
Nick Lewycky
|
55a722bf6a
|
Try turning icmp(bitcast(x), bitcast(y)) into icmp(bitcast(bitcast(x)), y) in
the hopes that the two bitcasts will merge.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82371 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-09-20 05:48:50 +00:00 |
|
Nick Lewycky
|
f4d1882743
|
Teach the constant folder how to handle a few simple i1 cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82340 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-09-20 00:04:02 +00:00 |
|