summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/GlobalOpt/compiler-used.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/GlobalOpt/compiler-used.ll')
-rw-r--r--llvm/test/Transforms/GlobalOpt/compiler-used.ll16
1 files changed, 0 insertions, 16 deletions
diff --git a/llvm/test/Transforms/GlobalOpt/compiler-used.ll b/llvm/test/Transforms/GlobalOpt/compiler-used.ll
deleted file mode 100644
index a710d272edc..00000000000
--- a/llvm/test/Transforms/GlobalOpt/compiler-used.ll
+++ /dev/null
@@ -1,16 +0,0 @@
-; RUN: opt < %s -globalopt -S | FileCheck %s
-
-; Test that when all members of llvm.compiler.used are found to be redundant
-; we delete it instead of crashing.
-
-define void @foo() {
- ret void
-}
-
-@llvm.used = appending global [1 x i8*] [i8* bitcast (void ()* @foo to i8*)], section "llvm.metadata"
-
-@llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (void ()* @foo to i8*)], section "llvm.metadata"
-
-; CHECK-NOT: @llvm.compiler.used
-; CHECK: @llvm.used = appending global [1 x i8*] [i8* bitcast (void ()* @foo to i8*)], section "llvm.metadata"
-; CHECK-NOT: @llvm.compiler.used
OpenPOWER on IntegriCloud