aboutsummaryrefslogtreecommitdiff
path: root/test/MC/Hexagon/inst_sxtb.ll
blob: 34219c72c99ee1070f127236283d7ce1fd49fbb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
; RUN: llc -march=hexagon -filetype=obj %s -o - \
; RUN: | llvm-objdump -d - | FileCheck %s

define i32 @foo (i8 %a)
{
  %1 = sext i8 %a to i32
  ret i32 %1
}

; CHECK: c0 3f 00 55 55003fc0