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

target triple = "hexagon"

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

attributes #0 = { nounwind }