This prepares for an upcoming change to make --print-imm-hex the default behavior of llvm-objdump. These tests were updated in a semi-automatic fashion. See D136972 for details.
14 lines
282 B
LLVM
14 lines
282 B
LLVM
; RUN: llc -march=hexagon -filetype=obj < %s | llvm-objdump --no-print-imm-hex -d -r - | FileCheck %s
|
|
|
|
declare void @bar()
|
|
|
|
define void @foo() {
|
|
call void @bar()
|
|
ret void
|
|
}
|
|
|
|
; CHECK: { call 0
|
|
; CHECK: 00000000: R_HEX_B22_PCREL
|
|
; CHECK: allocframe(#0)
|
|
; CHECK: { dealloc_return }
|