diff options
Diffstat (limited to 'llvm/test/CodeGen/AArch64/jump-table.ll')
-rw-r--r-- | llvm/test/CodeGen/AArch64/jump-table.ll | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/llvm/test/CodeGen/AArch64/jump-table.ll b/llvm/test/CodeGen/AArch64/jump-table.ll index 0f1e760a367..4bb094217af 100644 --- a/llvm/test/CodeGen/AArch64/jump-table.ll +++ b/llvm/test/CodeGen/AArch64/jump-table.ll @@ -1,6 +1,5 @@ ; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s ; RUN: llc -code-model=large -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck --check-prefix=CHECK-LARGE %s -; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -filetype=obj | llvm-readobj -r | FileCheck %s -check-prefix=CHECK-ELF define i32 @test_jumptable(i32 %in) { ; CHECK: test_jumptable @@ -48,19 +47,3 @@ lbl4: ; CHECK-NEXT: .xword ; CHECK-NEXT: .xword ; CHECK-NEXT: .xword - -; ELF tests: - -; First make sure we get a page/lo12 pair in .text to pick up the jump-table - -; CHECK-ELF: Relocations [ -; CHECK-ELF: Section ({{[0-9]+}}) .rela.text { -; CHECK-ELF-NEXT: 0x{{[0-9,A-F]+}} R_AARCH64_ADR_PREL_PG_HI21 .rodata -; CHECK-ELF-NEXT: 0x{{[0-9,A-F]+}} R_AARCH64_ADD_ABS_LO12_NC .rodata -; CHECK-ELF: } - -; Also check the targets in .rodata are relocated -; CHECK-ELF: Section ({{[0-9]+}}) .rela.rodata { -; CHECK-ELF-NEXT: 0x{{[0-9,A-F]+}} R_AARCH64_ABS64 .text -; CHECK-ELF: } -; CHECK-ELF: ] |