This should have been part of r224676.
[oota-llvm.git] / test / Transforms / InstCombine / 2003-06-05-BranchInvertInfLoop.ll
index 3d26024fe8d794bdabacf0ad344b79bb9af40468..154f3ba65e973ff6990d579298cca113491f4cce 100644 (file)
@@ -2,13 +2,15 @@
 ; because it things that the constant value is a not expression... and 
 ; constantly inverts the branch back and forth.
 ;
-; RUN: llvm-as < %s | opt -instcombine -disable-output
-
-ubyte %test19(bool %c) {
-        br bool true, label %True, label %False
-True:
-        ret ubyte 1
-False:
-        ret ubyte 3
+; RUN: opt < %s -instcombine -disable-output
+
+define i8 @test19(i1 %c) {
+        br i1 true, label %True, label %False
+
+True:           ; preds = %0
+        ret i8 1
+
+False:          ; preds = %0
+        ret i8 3
 }