Home | History | Annotate | Download | only in Hexagon
      1 ; RUN: llc -march=hexagon < %s | FileCheck %s
      2 ; Check for memd(base + #offset), instead of memd(base + reg<<#c).
      3 ; CHECK: memd(r{{[0-9]+}}+#
      4 
      5 define void @fred(i32 %p, i64 %v) #0 {
      6   %t0 = add i32 %p, 4
      7   %t1 = inttoptr i32 %t0 to i64*
      8   store i64 %v, i64* %t1
      9   ret void
     10 }
     11 
     12 attributes #0 = { nounwind "target-cpu"="hexagonv60" }
     13