From 755aabc04eb2f5f947208fce97d11c413996b12f Mon Sep 17 00:00:00 2001 From: Michael Gottesman Date: Sun, 21 Apr 2013 01:42:24 +0000 Subject: [objc-arc] Renamed the test file clang-arc-used-intrinsic-removed-if-isolated.ll -> intrinsic-use-isolated.ll to match the other test file intrinsic-use.ll. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179971 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../clang-arc-used-intrinsic-removed-if-isolated.ll | 16 ---------------- test/Transforms/ObjCARC/intrinsic-use-isolated.ll | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 test/Transforms/ObjCARC/clang-arc-used-intrinsic-removed-if-isolated.ll create mode 100644 test/Transforms/ObjCARC/intrinsic-use-isolated.ll (limited to 'test/Transforms/ObjCARC') diff --git a/test/Transforms/ObjCARC/clang-arc-used-intrinsic-removed-if-isolated.ll b/test/Transforms/ObjCARC/clang-arc-used-intrinsic-removed-if-isolated.ll deleted file mode 100644 index 4215b5c..0000000 --- a/test/Transforms/ObjCARC/clang-arc-used-intrinsic-removed-if-isolated.ll +++ /dev/null @@ -1,16 +0,0 @@ -; RUN: opt -objc-arc-contract -S < %s | FileCheck %s - -; This file makes sure that clang.arc.used is removed even if no other ARC -; interesting calls are in the module. - -declare void @clang.arc.use(...) nounwind - -; Kill calls to @clang.arc.use(...) -; CHECK: define void @test0( -; CHECK-NOT: clang.arc.use -; CHECK: } -define void @test0(i8* %a, i8* %b) { - call void (...)* @clang.arc.use(i8* %a, i8* %b) nounwind - ret void -} - diff --git a/test/Transforms/ObjCARC/intrinsic-use-isolated.ll b/test/Transforms/ObjCARC/intrinsic-use-isolated.ll new file mode 100644 index 0000000..4215b5c --- /dev/null +++ b/test/Transforms/ObjCARC/intrinsic-use-isolated.ll @@ -0,0 +1,16 @@ +; RUN: opt -objc-arc-contract -S < %s | FileCheck %s + +; This file makes sure that clang.arc.used is removed even if no other ARC +; interesting calls are in the module. + +declare void @clang.arc.use(...) nounwind + +; Kill calls to @clang.arc.use(...) +; CHECK: define void @test0( +; CHECK-NOT: clang.arc.use +; CHECK: } +define void @test0(i8* %a, i8* %b) { + call void (...)* @clang.arc.use(i8* %a, i8* %b) nounwind + ret void +} + -- cgit v1.1