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

target triple = "hexagon"

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

attributes #0 = { nounwind }
OpenPOWER on IntegriCloud