brintos

brintos / llvm-project-archived public Read only

0
0
Text · 634 B · d4dd837 Raw
25 lines · plain
1; RUN: llc -mtriple=hexagon -O2 -hexagon-expand-condsets=true -hexagon-gen-mux-threshold=4 < %s | FileCheck %s2; CHECK-NOT: mux(p3 4target triple = "hexagon"5 6define void @f0() #0 {7b0:8  %v0 = load i32, ptr null, align 49  %v1 = icmp slt i32 undef, %v010  %v2 = zext i1 %v1 to i3211  %v3 = icmp sgt i32 undef, 012  %v4 = zext i1 %v3 to i3213  %v5 = add nsw i32 %v2, %v414  store i32 %v5, ptr undef, align 415  br i1 undef, label %b1, label %b216 17b1:                                               ; preds = %b018  br label %b219 20b2:                                               ; preds = %b1, %b021  unreachable22}23 24attributes #0 = { nounwind }25