llvm-for-llvmta/test/CodeGen/Hexagon/store-imm-word.ll

14 lines
239 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llc -march=hexagon < %s | FileCheck %s
; CHECK: memw{{.*}} = #-1
target triple = "hexagon"
; Function Attrs: nounwind
define void @f0(i32* %a0) #0 {
b0:
store i32 -1, i32* %a0, align 4
ret void
}
attributes #0 = { nounwind }