llvm-6502/test/Transforms/CondProp
Evan Cheng df2f1189a3 Optimize conditional branch on i1 phis with non-constant inputs.
This turns:

eq:
        %3 = icmp eq i32 %1, %2
        br label %join

ne:
        %4 = icmp ne i32 %1, %2
        br label %join

join:
        %5 = phi i1 [%3, %eq], [%4, %ne]
        br i1 %5, label %yes, label %no

=>

eq:
        %3 = icmp eq i32 %1, %2
        br i1 %3, label %yes, label %no

ne:
        %4 = icmp ne i32 %1, %2
        br i1 %4, label %yes, label %no


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69102 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-14 23:40:03 +00:00
..
2006-08-14-SingleEntryPhiCrash.ll
2006-11-01-PhiNodeCrash.ll
2007-08-01-InvalidRead.ll
2009-01-25-SingleEntryPHI.ll
basictest-dbg.ll
basictest.ll
dg.exp
phisimplify2.ll
phisimplify3.ll
phisimplify.ll