summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LowerGuardIntrinsic/with-calling-conv.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/LowerGuardIntrinsic/with-calling-conv.ll')
-rw-r--r--llvm/test/Transforms/LowerGuardIntrinsic/with-calling-conv.ll15
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/test/Transforms/LowerGuardIntrinsic/with-calling-conv.ll b/llvm/test/Transforms/LowerGuardIntrinsic/with-calling-conv.ll
deleted file mode 100644
index 9dce54ce604..00000000000
--- a/llvm/test/Transforms/LowerGuardIntrinsic/with-calling-conv.ll
+++ /dev/null
@@ -1,15 +0,0 @@
-; RUN: opt -S -lower-guard-intrinsic < %s | FileCheck %s
-
-declare cc99 void @llvm.experimental.guard(i1, ...)
-
-define i8 @f_basic(i1* %c_ptr) {
-; CHECK-LABEL: @f_basic(
-; CHECK: br i1 %c, label %guarded, label %deopt
-; CHECK: deopt:
-; CHECK-NEXT: %deoptcall = call cc99 i8 (...) @llvm.experimental.deoptimize.i8() [ "deopt"() ]
-; CHECK-NEXT: ret i8 %deoptcall
-
- %c = load volatile i1, i1* %c_ptr
- call cc99 void(i1, ...) @llvm.experimental.guard(i1 %c) [ "deopt"() ]
- ret i8 6
-}
OpenPOWER on IntegriCloud