1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 21:13:02 +02:00
llvm-mirror/test/CodeGen/Hexagon/storerd-io-over-rr.ll

13 lines
330 B
LLVM
Raw Normal View History

; RUN: llc -march=hexagon < %s | FileCheck %s
; Check for memd(base + #offset), instead of memd(base + reg<<#c).
; CHECK: memd(r{{[0-9]+}}+#
define void @fred(i32 %p, i64 %v) #0 {
%t0 = add i32 %p, 4
%t1 = inttoptr i32 %t0 to i64*
store i64 %v, i64* %t1
ret void
}
attributes #0 = { nounwind "target-cpu"="hexagonv60" }