1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +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
2006-11-01-PhiNodeCrash.ll
2007-08-01-InvalidRead.ll
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
phisimplify2.ll
phisimplify3.ll Optimize conditional branch on i1 phis with non-constant inputs. 2009-04-14 23:40:03 +00:00
phisimplify.ll