You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
330 B
13 lines
330 B
; 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" }
|