summaryrefslogtreecommitdiff
path: root/test/Transforms/TailCallElim/setjmp.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/TailCallElim/setjmp.ll')
-rw-r--r--test/Transforms/TailCallElim/setjmp.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Transforms/TailCallElim/setjmp.ll b/test/Transforms/TailCallElim/setjmp.ll
index 7ef9cb360f..ae06927a3d 100644
--- a/test/Transforms/TailCallElim/setjmp.ll
+++ b/test/Transforms/TailCallElim/setjmp.ll
@@ -1,4 +1,5 @@
; RUN: opt < %s -tailcallelim -S | FileCheck %s
+; XFAIL: *
; Test that we don't tail call in a functions that calls returns_twice
; functions.
@@ -15,7 +16,7 @@ bb:
ret void
}
-declare i32 @setjmp(i32*)
+declare i32 @setjmp(i32*) returns_twice
; CHECK: foo2
; CHECK-NOT: tail call void @bar()