llvm-for-llvmta/test/MC/Hexagon/inst_zxtb.ll

11 lines
190 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llc -march=hexagon -filetype=obj %s -o - \
; RUN: | llvm-objdump -d - | FileCheck %s
define i32 @foo (i8 %a)
{
%1 = zext i8 %a to i32
ret i32 %1
}
; CHECK: c0 3f 00 57 57003fc0