aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/XCore/private.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/XCore/private.ll')
-rw-r--r--test/CodeGen/XCore/private.ll21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/CodeGen/XCore/private.ll b/test/CodeGen/XCore/private.ll
deleted file mode 100644
index a188864a866c..000000000000
--- a/test/CodeGen/XCore/private.ll
+++ /dev/null
@@ -1,21 +0,0 @@
-; Test to make sure that the 'private' is used correctly.
-;
-; RUN: llc < %s -march=xcore | FileCheck %s
-
-define private void @foo() {
-; CHECK: .Lfoo:
- ret void
-}
-
-@baz = private global i32 4
-
-define i32 @bar() {
-; CHECK-LABEL: bar:
-; CHECK: bl .Lfoo
-; CHECK: ldw r0, dp[.Lbaz]
- call void @foo()
- %1 = load i32, i32* @baz, align 4
- ret i32 %1
-}
-
-; CHECK: .Lbaz: