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

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

; CHECK:   0000 0040a070 00c09f52