aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/SimplifyCFG/HoistCode.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/SimplifyCFG/HoistCode.ll')
-rw-r--r--test/Transforms/SimplifyCFG/HoistCode.ll18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/Transforms/SimplifyCFG/HoistCode.ll b/test/Transforms/SimplifyCFG/HoistCode.ll
index b817477161..d8894a6faa 100644
--- a/test/Transforms/SimplifyCFG/HoistCode.ll
+++ b/test/Transforms/SimplifyCFG/HoistCode.ll
@@ -1,11 +1,11 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep br
+; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
-void %foo(bool %C, int* %P) {
- br bool %C, label %T, label %F
-T:
- store int 7, int* %P
- ret void
-F:
- store int 7, int* %P
- ret void
+define void @foo(i1 %C, i32* %P) {
+ br i1 %C, label %T, label %F
+T: ; preds = %0
+ store i32 7, i32* %P
+ ret void
+F: ; preds = %0
+ store i32 7, i32* %P
+ ret void
}