1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/CodeGen/Hexagon/store-imm-halword.ll
Krzysztof Parzyszek 66abdd815e [Hexagon] Add more lit tests
llvm-svn: 327271
2018-03-12 14:01:28 +00:00

14 lines
239 B
LLVM

; 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 }