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

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

; CHECK: c0 3f 00 54 54003fc0