[Hexagon] Reapply 238772 OSABI was not correctly set, added empty_elf test to make...
[oota-llvm.git] / test / CodeGen / Hexagon / relax.ll
1 ; RUN: llc -march=hexagon -filetype=obj < %s | llvm-objdump -d -r - | FileCheck %s
2
3 declare void @bar()
4
5 define void @foo() {
6 call void @bar()
7 ret void
8 }
9
10
11 ; CHECK: { allocframe(#0) }
12 ; CHECK: { call 0 }
13 ; CHECK: 00000004:  R_HEX_B22_PCREL
14 ; CHECK: { dealloc_return }