llvm-project/llvm/test/MC/Mips/init-order-bug.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

13 lines
495 B
LLVM

; RUN: llc -mtriple=mipsel-linux-gnu -relocation-model=pic -filetype=asm < %s | \
; RUN: llvm-mc -triple=mipsel-linux-gnu --position-independent -filetype=obj | \
; RUN: llvm-objdump --no-print-imm-hex -d - | FileCheck %s
; RUN: llc -mtriple=mipsel-linux-gnu -relocation-model=pic -filetype=obj < %s | \
; RUN: llvm-objdump --no-print-imm-hex -d - | FileCheck %s
define void @foo() {
call void asm sideeffect "\09.cprestore 512", "~{$1}"()
ret void
}
; CHECK: sw $gp, 512($sp)