brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.7 KiB · 0490696 Raw
56 lines · plain
1; RUN: llc -mtriple=hexagon < %s2; REQUIRES: asserts3 4target triple = "hexagon"5 6declare void @foo() #07 8define hidden fastcc void @fred(i32 %a, i64 %b, i64 %c) unnamed_addr #1 {9entry:10  %cmp17 = icmp ne i64 %c, 011  %conv19 = zext i1 %cmp17 to i6412  %or = or i64 %conv19, %b13  store i64 %or, ptr undef, align 814  br i1 undef, label %if.then44, label %if.end9615 16if.then44:                                        ; preds = %entry17  br i1 undef, label %overflow, label %lor.lhs.false18 19lor.lhs.false:                                    ; preds = %if.then4420  br i1 undef, label %overflow, label %if.end5221 22if.end52:                                         ; preds = %lor.lhs.false23  br i1 undef, label %if.then55, label %if.end9624 25if.then55:                                        ; preds = %if.end5226  %cmp60 = icmp slt i32 %a, 027  %or.cond = or i1 %cmp60, false28  %cmp63 = icmp ule i64 %or, undef29  %.cmp63 = or i1 %cmp63, %or.cond30  call void @foo()31  %or.cond299 = and i1 %.cmp63, undef32  br i1 %or.cond299, label %if.then72, label %if.end7333 34if.then72:                                        ; preds = %if.then5535  unreachable36 37if.end73:                                         ; preds = %if.then5538  unreachable39 40if.end96:                                         ; preds = %if.end52, %entry41  br i1 undef, label %if.end102, label %if.then9842 43if.then98:                                        ; preds = %if.end9644  br label %if.end10245 46if.end102:                                        ; preds = %if.then98, %if.end9647  unreachable48 49overflow:                                         ; preds = %lor.lhs.false, %if.then4450  ret void51}52 53attributes #0 = { noinline norecurse nounwind }54attributes #1 = { noinline nounwind }55 56