27 lines · plain
1; RUN: llc -mtriple=hexagon < %s | FileCheck %s2 3; This generates A4_addp_c, which cannot be used as a dot-new predicate4; producer (resulting in a crash).5; CHECK-NOT: p{{[0-3]+}}.new6 7target triple = "hexagon"8 9define void @ext4_group_extend() #0 {10entry:11 %es.idx.val = load i32, ptr undef, align 412 %conv1.i = zext i32 %es.idx.val to i6413 %or.i = or i64 undef, %conv1.i14 %add20 = add i64 %or.i, undef15 %cmp21 = icmp ult i64 %add20, %or.i16 br i1 %cmp21, label %if.then23, label %if.end2417 18if.then23: ; preds = %entry19 unreachable20 21if.end24: ; preds = %entry22 unreachable23}24 25attributes #0 = { nounwind "target-cpu"="hexagonv65" }26 27