diff options
Diffstat (limited to 'test/CodeGen/ARM/jump_tables.ll')
-rw-r--r-- | test/CodeGen/ARM/jump_tables.ll | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/test/CodeGen/ARM/jump_tables.ll b/test/CodeGen/ARM/jump_tables.ll deleted file mode 100644 index 907a86c..0000000 --- a/test/CodeGen/ARM/jump_tables.ll +++ /dev/null @@ -1,32 +0,0 @@ -; RUN: llc <%s -mtriple=arm-unknown-linux-gnueabi -jump-table-type=single | FileCheck --check-prefix=ARM %s -; RUN: llc <%s -mtriple=thumb-unknown-linux-gnueabi -jump-table-type=single | FileCheck --check-prefix=THUMB %s - -define void @indirect_fun() unnamed_addr jumptable { - ret void -} -define void ()* @get_fun() { - ret void ()* @indirect_fun - -; ARM: ldr r0, [[LABEL:.*]] -; ARM: mov pc, lr -; ARM: [[LABEL]]: -; ARM: .long __llvm_jump_instr_table_0_1 - -; THUMB: ldr r0, [[LABEL:.*]] -; THUMB: bx lr -; THUMB: [[LABEL]]: -; THUMB: .long __llvm_jump_instr_table_0_1 -} - -; ARM: .globl __llvm_jump_instr_table_0_1 -; ARM: .align 3 -; ARM: .type __llvm_jump_instr_table_0_1,%function -; ARM: __llvm_jump_instr_table_0_1: -; ARM: b indirect_fun(PLT) - -; THUMB: .globl __llvm_jump_instr_table_0_1 -; THUMB: .align 3 -; THUMB: .thumb_func -; THUMB: .type __llvm_jump_instr_table_0_1,%function -; THUMB: __llvm_jump_instr_table_0_1: -; THUMB: b indirect_fun(PLT) |