llvm-project/llvm/test/CodeGen/X86/callbr-asm-obj-file.ll
Daniel Thornburgh 75cdab6dc2 [llvm-objdump] Add --no-print-imm-hex to tests depending on it.
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.
2022-10-29 15:40:26 -07:00

20 lines
500 B
LLVM

; RUN: llc < %s -mtriple=x86_64-linux-gnu -filetype=obj -o - \
; RUN: | llvm-objdump --no-print-imm-hex --triple=x86_64-linux-gnu -d - \
; RUN: | FileCheck %s
; CHECK: 0000000000000000 <test1>:
; CHECK-NEXT: 0: 74 00 je 0x2 <test1+0x2>
; CHECK-NEXT: 2: c3 retq
define void @test1() {
entry:
callbr void asm sideeffect "je ${0:l}", "!i,~{dirflag},~{fpsr},~{flags}"()
to label %asm.fallthrough [label %a.b.normal.jump]
asm.fallthrough:
ret void
a.b.normal.jump:
ret void
}