summaryrefslogtreecommitdiffstats
path: root/test/Transforms/CodeGenPrepare
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-03-11 19:30:30 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-03-11 19:30:30 +0000
commit950d3db5f478a84242a90cafce0d8dfc4f8b1152 (patch)
tree88826e3fe1fc3cb62f89d113c8722abf9479bc95 /test/Transforms/CodeGenPrepare
parent4839ded3bdf83a47c581b818e295669533cc9a9b (diff)
downloadexternal_llvm-950d3db5f478a84242a90cafce0d8dfc4f8b1152.zip
external_llvm-950d3db5f478a84242a90cafce0d8dfc4f8b1152.tar.gz
external_llvm-950d3db5f478a84242a90cafce0d8dfc4f8b1152.tar.bz2
Revert r127459, "Optimize trivial branches in CodeGenPrepare, which often get
created from the", it broke some GCC test suite tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127477 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/CodeGenPrepare')
-rw-r--r--test/Transforms/CodeGenPrepare/basic.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Transforms/CodeGenPrepare/basic.ll b/test/Transforms/CodeGenPrepare/basic.ll
index ebf10f0..3b1fca3 100644
--- a/test/Transforms/CodeGenPrepare/basic.ll
+++ b/test/Transforms/CodeGenPrepare/basic.ll
@@ -14,14 +14,13 @@ entry:
br i1 %1, label %T, label %trap
; CHECK: entry:
-; CHECK-NEXT: br label %T
+; HECK-NEXT: ret i32 4
trap: ; preds = %0, %entry
tail call void @llvm.trap() noreturn nounwind
unreachable
T:
-; CHECK: ret i32 4
ret i32 4
}