brintos

brintos / llvm-project-archived public Read only

0
0
Text · 847 B · 93c6bf1 Raw
30 lines · plain
1; RUN: llc -mtriple=hexagon -O2 < %s | FileCheck %s2; CHECK: mem{{.*}} = {{.*}}.new3 4target triple = "hexagon-unknown-linux-gnu"5 6; Function Attrs: nounwind7define void @f0(ptr nocapture %a0, ptr nocapture %a1) #0 {8b0:9  br label %b110 11b1:                                               ; preds = %b1, %b012  %v0 = phi ptr [ %a1, %b0 ], [ %v2, %b1 ]13  %v1 = phi ptr [ %a0, %b0 ], [ %v4, %b1 ]14  %v2 = getelementptr inbounds i8, ptr %v0, i32 115  %v3 = load volatile i8, ptr %v0, align 1, !tbaa !016  %v4 = getelementptr inbounds i8, ptr %v1, i32 117  store volatile i8 %v3, ptr %v1, align 1, !tbaa !018  %v5 = icmp eq i8 %v3, 019  br i1 %v5, label %b2, label %b120 21b2:                                               ; preds = %b122  ret void23}24 25attributes #0 = { nounwind }26 27!0 = !{!1, !1, i64 0}28!1 = !{!"omnipotent char", !2}29!2 = !{!"Simple C/C++ TBAA"}30