llvm-6502/test/CodeGen/Hexagon/relax.ll

14 lines
267 B
LLVM

; RUN: llc -march=hexagon -filetype=obj < %s | llvm-objdump -d -r - | FileCheck %s
declare void @bar()
define void @foo() {
call void @bar()
ret void
}
; CHECK: { allocframe(#0) }
; CHECK: { call 0 }
; CHECK: 00000004: R_HEX_B22_PCREL
; CHECK: { dealloc_return }