aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/AArch64/inline-asm-globaladdress.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/AArch64/inline-asm-globaladdress.ll')
-rw-r--r--test/CodeGen/AArch64/inline-asm-globaladdress.ll20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/CodeGen/AArch64/inline-asm-globaladdress.ll b/test/CodeGen/AArch64/inline-asm-globaladdress.ll
deleted file mode 100644
index adebabaa29be..000000000000
--- a/test/CodeGen/AArch64/inline-asm-globaladdress.ll
+++ /dev/null
@@ -1,20 +0,0 @@
-; RUN: llc < %s -mtriple aarch64-gnu-linux | FileCheck %s
-; RUN: llc < %s -mtriple arm64-apple-darwin | FileCheck %s
-
-target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
-
-; CHECK-LABEL: test_inlineasm_globaladdress:
-; CHECK: b {{_?}}test_symbol
-define void @test_inlineasm_globaladdress() {
- call void asm sideeffect "b $0", "i"(void ()* @test_symbol)
- ret void
-}
-
-; CHECK-LABEL: test_inlineasm_globaladdress_offset:
-; CHECK: b {{_?}}test_symbol+4
-define void @test_inlineasm_globaladdress_offset() {
- call void asm sideeffect "b $0", "i"(void ()* bitcast (i8* getelementptr (i8, i8* bitcast (void ()* @test_symbol to i8*), i64 4) to void ()*))
- ret void
-}
-
-declare void @test_symbol()