aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/Hexagon/store-imm-halword.ll
blob: b357c05483370818700448041848117d20851fb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llc -mtriple=hexagon < %s | FileCheck %s
; CHECK: memh{{.*}} = #-1

target triple = "hexagon"

; Function Attrs: nounwind
define void @f0(ptr %a0) #0 {
b0:
  store i16 -1, ptr %a0, align 2
  ret void
}

attributes #0 = { nounwind }