1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-02 00:42:52 +01:00
llvm-mirror/test/Transforms/CondProp
Evan Cheng dba98a0669 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

llvm-svn: 69102
2009-04-14 23:40:03 +00:00
..
2006-08-14-SingleEntryPhiCrash.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
2006-11-01-PhiNodeCrash.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
2007-08-01-InvalidRead.ll Fix PR1575 and test/Transforms/CondProp/2007-08-01-InvalidRead.ll 2007-08-02 04:47:05 +00:00
2009-01-25-SingleEntryPHI.ll Handle single-entry phi nodes gracefully in condprop. 2009-01-26 02:18:20 +00:00
basictest-dbg.ll Ignore dbg intrinsics while propagating conditional expression info. Take 2. 2009-02-05 23:32:52 +00:00
basictest.ll Remove dead blocks in the end. 2009-02-05 19:59:42 +00:00
dg.exp For PR1319: 2007-04-15 06:53:51 +00:00
phisimplify2.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00
phisimplify3.ll Optimize conditional branch on i1 phis with non-constant inputs. 2009-04-14 23:40:03 +00:00
phisimplify.ll Remove llvm-upgrade and update test cases. 2008-03-01 09:15:35 +00:00