aboutsummaryrefslogtreecommitdiff
path: root/test/MC/Hexagon/inst_zxth.ll
blob: 7b3d1b30648c10933925107e9dc53e253ac1bffa (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 (i16 %a)
{
  %1 = zext i16 %a to i32
  ret i32 %1
}

; CHECK: c0 3f 00 56 56003fc0