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