brintos

brintos / llvm-project-archived public Read only

0
0
Text · 819 B · 7aeff01 Raw
29 lines · plain
1; RUN: llc -mtriple=hexagon < %s2; REQUIRES: asserts3 4; This test used to crash in register scavenger due to incorrectly set5; kill flags.6 7target triple = "hexagon"8 9define void @foo(i64 %a) #0 {10entry:11  %conv.i = and i64 %a, 921886843722740531212  %cmp = icmp ne i64 %conv.i, 921886843722740531213  %and.i37 = and i64 %a, 450359962737049514  %tobool = icmp eq i64 %and.i37, 015  %or.cond = or i1 %cmp, %tobool16  br i1 %or.cond, label %lor.lhs.false, label %if.then17 18lor.lhs.false:                                    ; preds = %entry19  br i1 undef, label %return, label %if.then20 21if.then:                                          ; preds = %lor.lhs.false, %entry22  br label %return23 24return:                                           ; preds = %if.then, %lor.lhs.false25  ret void26}27 28attributes #0 = { norecurse nounwind }29