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

14 lines
263 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: { call 0
; CHECK: allocframe(#0)
; CHECK: 00000000: R_HEX_B22_PCREL
; CHECK: { dealloc_return }