brintos

brintos / llvm-project-archived public Read only

0
0
Text · 472 B · c6e45d6 Raw
19 lines · plain
1; RUN: llc -mtriple=hexagon < %s | FileCheck %s2; CHECK-LABEL: foo:3; CHECK: memh(r0+#0){{.*}}={{.*}}#-24; Don't use memh(r0+#0)=##65534.5 6target datalayout = "e-m:e-p:32:32-i1:32-i64:64-a:0-v32:32-n16:32"7target triple = "hexagon"8 9; Function Attrs: nounwind10define void @foo(ptr nocapture %s) #0 {11entry:12  store i8 -2, ptr %s, align 213  %add.ptr = getelementptr inbounds i8, ptr %s, i32 114  store i8 -1, ptr %add.ptr, align 115  ret void16}17 18attributes #0 = { nounwind }19