aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Hexagon/inst_aslh.ll
blob: 680943818e0f5c832de3263f5b23cd488d3ad27d (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 (i32 %a)
{
  %1 = shl i32 %a, 16
  ret i32 %1
}

; CHECK:   0000 00400070 00c09f52