From 827ffff4b15fc7204087743f4c81419179e54ee6 Mon Sep 17 00:00:00 2001 From: Manman Ren Date: Mon, 4 Nov 2013 18:52:06 +0000 Subject: Rename testing case to use - instead of _. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194001 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../Inline/inline-invoke-with-asm-call.ll | 32 ++++++++++++++++++++++ .../Inline/inline_invoke_with_asm_call.ll | 32 ---------------------- 2 files changed, 32 insertions(+), 32 deletions(-) create mode 100644 test/Transforms/Inline/inline-invoke-with-asm-call.ll delete mode 100644 test/Transforms/Inline/inline_invoke_with_asm_call.ll (limited to 'test') diff --git a/test/Transforms/Inline/inline-invoke-with-asm-call.ll b/test/Transforms/Inline/inline-invoke-with-asm-call.ll new file mode 100644 index 0000000000..876f8d7455 --- /dev/null +++ b/test/Transforms/Inline/inline-invoke-with-asm-call.ll @@ -0,0 +1,32 @@ +; RUN: opt < %s -inline -S | FileCheck %s +target triple = "x86_64-apple-darwin" + +; In inliner, we assume that inline asm does not throw. This testing case makes +; sure that the inliner does not convert "call asm" to "invoke asm". +; rdar://15317907 +; CHECK-LABEL: @caller +; Make sure we are generating "call asm" instead of "invoke asm". +; CHECK: call void asm +; CHECK-LABEL: @callee_with_asm +define void @caller() { + br i1 undef, label %1, label %4 + +;