llvm-6502/lib/Transforms
Chris Lattner 3e88a4d700 Merge two almost-identical pieces of code.
Make this code more powerful by using ComputeMaskedBits instead of looking
for an AND operand.  This lets us fold this:

int %test23(int %a) {
        %tmp.1 = and int %a, 1
        %tmp.2 = seteq int %tmp.1, 0
        %tmp.3 = cast bool %tmp.2 to int  ;; xor tmp1, 1
        ret int %tmp.3
}

into: xor (and a, 1), 1


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26396 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-27 02:38:23 +00:00
..
Hello
Instrumentation Add explicit #includes of <iostream> 2006-01-22 22:53:01 +00:00
IPO fix a bunch of alpha regressions. see bug 709 2006-02-15 21:13:37 +00:00
Scalar Merge two almost-identical pieces of code. 2006-02-27 02:38:23 +00:00
Utils Fix Transforms/SimplifyCFG/2006-02-17-InfiniteUnroll.ll 2006-02-18 00:33:17 +00:00
ExprTypeConvert.cpp Add explicit #includes of <iostream> 2006-01-22 22:53:01 +00:00
LevelRaise.cpp Make iostream #inclusion explicit 2006-01-22 23:32:06 +00:00
Makefile
TransformInternals.cpp Remove dead #include 2005-10-29 04:41:30 +00:00
TransformInternals.h