brintos

brintos / llvm-project-archived public Read only

0
0
Text · 330 B · 8a233e9 Raw
13 lines · plain
1; RUN: llc -mtriple=hexagon < %s | FileCheck %s2; Check for memd(base + #offset), instead of memd(base + reg<<#c).3; CHECK: memd(r{{[0-9]+}}+#4 5define void @fred(i32 %p, i64 %v) #0 {6  %t0 = add i32 %p, 47  %t1 = inttoptr i32 %t0 to ptr8  store i64 %v, ptr %t19  ret void10}11 12attributes #0 = { nounwind "target-cpu"="hexagonv60" }13