Files
clang-p2996/llvm/test/CodeGen/Hexagon/extlow.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
334 B
LLVM

; RUN: llc -march=hexagon -O0 %s -o - | llvm-mc -arch=hexagon -filetype=obj | llvm-objdump --no-print-imm-hex -d - | FileCheck %s
; CHECK: immext(#16777216)
; CHECK-NEXT: r0 = add(r0,##16777279)
define void @f0(i32 %a0) {
b0:
%v0 = add i32 16777279, %a0
%v1 = alloca i32, align 4
store i32 %v0, i32* %v1, align 4
ret void
}