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
..
2009-03-16 18:28:27 +00:00
2009-03-25 06:36:36 +00:00
2009-03-01 01:28:40 +00:00
2009-02-03 02:11:28 +00:00
2009-03-21 18:12:24 +00:00
2009-04-14 22:50:17 +00:00
2009-03-10 13:41:26 +00:00
2009-03-13 20:31:25 +00:00
2009-04-04 07:22:01 +00:00
2009-03-12 11:56:12 +00:00
2009-03-27 02:45:14 +00:00
2009-03-25 16:43:59 +00:00
2009-02-09 09:41:49 +00:00
2009-02-17 22:48:18 +00:00
2008-10-06 18:42:48 +00:00
2009-03-24 21:36:09 +00:00
2009-03-21 18:12:24 +00:00
2009-01-02 07:01:27 +00:00
2009-03-06 17:59:58 +00:00
2009-03-31 17:36:12 +00:00
2008-06-25 16:03:42 +00:00
2009-03-13 21:03:27 +00:00
2009-04-14 23:40:03 +00:00
2009-01-02 07:01:27 +00:00
2009-03-21 18:12:24 +00:00
2008-07-28 18:41:03 +00:00