summaryrefslogtreecommitdiff
path: root/test/CodeGen/SPARC/sjlj.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/SPARC/sjlj.ll')
-rwxr-xr-xtest/CodeGen/SPARC/sjlj.ll11
1 files changed, 8 insertions, 3 deletions
diff --git a/test/CodeGen/SPARC/sjlj.ll b/test/CodeGen/SPARC/sjlj.ll
index 3bf583aa47543..459630f9255fc 100755
--- a/test/CodeGen/SPARC/sjlj.ll
+++ b/test/CodeGen/SPARC/sjlj.ll
@@ -66,13 +66,18 @@ return: ; preds = %if.end, %if.then
; CHECK: ba .LBB1_1
; CHECK: nop
; CHECK:.LBB1_1: ! %entry
-; CHECK: ba .LBB1_3
; CHECK: mov %g0, %i0
+; CHECK: ! %entry
+; CHECK: cmp %i0, 0
+; CHECK: be .LBB1_5
+; CHECK: nop
+; CHECK:.LBB1_4:
+; CHECK: mov 1, %i0
+; CHECK: ba .LBB1_6
; CHECK:.LBB1_2: ! Block address taken
; CHECK: mov 1, %i0
-; CHECK:.LBB1_3: ! %entry
; CHECK: cmp %i0, 0
-; CHECK: be .LBB1_5
+; CHECK: bne .LBB1_4
; CHECK: nop
}
declare i8* @llvm.frameaddress(i32) #2