llvm-6502/lib/Transforms
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
..
Hello Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Instrumentation Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
IPO eliminate unneeded parens. 2009-04-13 05:38:23 +00:00
Scalar Optimize conditional branch on i1 phis with non-constant inputs. 2009-04-14 23:40:03 +00:00
Utils Update call graph after inlining invoke. 2009-03-31 17:36:12 +00:00
Makefile I should definitely read make docs someday :( 2009-03-11 20:40:15 +00:00