brintos

brintos / llvm-project-archived public Read only

0
0
Text · 919 B · 00ada91 Raw
30 lines · plain
1; RUN: llc -mtriple=hexagon < %s2; REQUIRES: asserts3 4; Test that the pipeliner doesn't assert in orderDependence because5; the check for OrderAfterDef precedeence is in the wrong spot.6 7%s.0 = type <{ i8, [20 x %s.1] }>8%s.1 = type { i16, i16 }9 10; Function Attrs: nounwind optsize ssp11define void @f0() #0 {12b0:13  br i1 undef, label %b1, label %b214 15b1:                                               ; preds = %b1, %b016  %v0 = phi i32 [ %v3, %b1 ], [ 0, %b0 ]17  %v1 = getelementptr inbounds %s.0, ptr undef, i32 0, i32 1, i32 %v0, i32 018  store i16 0, ptr %v1, align 119  %v2 = getelementptr inbounds %s.0, ptr undef, i32 0, i32 1, i32 %v0, i32 120  store i16 -1, ptr %v2, align 121  %v3 = add nsw i32 %v0, 122  %v4 = icmp eq i32 %v3, 2023  br i1 %v4, label %b2, label %b124 25b2:                                               ; preds = %b1, %b026  ret void27}28 29attributes #0 = { nounwind optsize ssp "target-cpu"="hexagonv55" }30