llvm-project/llvm/test/CodeGen/Hexagon/store-imm-byte.ll

14 lines
236 B
LLVM

; RUN: llc -march=hexagon < %s | FileCheck %s
; CHECK: memb{{.*}} = #-1
target triple = "hexagon"
; Function Attrs: nounwind
define void @f0(i8* %a0) #0 {
b0:
store i8 -1, i8* %a0, align 2
ret void
}
attributes #0 = { nounwind }