diff options
Diffstat (limited to 'test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll')
-rw-r--r-- | test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll b/test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll index fccc6db..87e0e16 100644 --- a/test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll +++ b/test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll @@ -1,14 +1,13 @@ -; RUN: llvm-upgrade < %s | llvm-as | opt -predsimplify -disable-output +; RUN: llvm-as < %s | opt -predsimplify -disable-output -void %diff(int %N) { +define void @diff(i32 %N) { entry: - %tmp = setgt int %N, 0 ; <bool> [#uses=1] - br bool %tmp, label %bb519, label %bb744 - + %tmp = icmp sgt i32 %N, 0 ; <i1> [#uses=1] + br i1 %tmp, label %bb519, label %bb744 bb519: ; preds = %entry - %tmp720101 = setlt int %N, 0 ; <bool> [#uses=1] - br bool %tmp720101, label %bb744, label %bb744 - -bb744: ; preds = %bb519, %entry + %tmp720101 = icmp slt i32 %N, 0 ; <i1> [#uses=1] + br i1 %tmp720101, label %bb744, label %bb744 +bb744: ; preds = %bb519, %bb519, %entry ret void } + |