34 lines · plain
1; RUN: llc -O1 -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu < %s2; RUN: llc -O1 -verify-machineinstrs -mtriple=powerpc64-ibm-aix-xcoff < %s3 4; Function Attrs: uwtable5define fastcc void @_Crash_Fn() unnamed_addr #0 {6entry-block:7 br label %_Label_08 9_Label_0: ; preds = %_Label_0, %entry-block10 %result.0138 = phi i128 [ %5, %_Label_0 ], [ 0, %entry-block ]11 %iter.sroa.0.0137 = phi ptr [ %0, %_Label_0 ], [ undef, %entry-block ]12 %0 = getelementptr inbounds i8, ptr %iter.sroa.0.0137, i64 113 %1 = tail call { i128, i1 } @llvm.smul.with.overflow.i128(i128 %result.0138, i128 undef) #214 %2 = extractvalue { i128, i1 } %1, 015 %3 = tail call { i128, i1 } @llvm.sadd.with.overflow.i128(i128 %2, i128 0) #216 %4 = extractvalue { i128, i1 } %3, 117 %5 = extractvalue { i128, i1 } %3, 018 %6 = icmp eq ptr %0, null19 br i1 %6, label %bb66.loopexit, label %_Label_020 21bb66.loopexit: ; preds = %_Label_022 unreachable23}24 25; Function Attrs: nounwind readnone26declare { i128, i1 } @llvm.sadd.with.overflow.i128(i128, i128) #127 28; Function Attrs: nounwind readnone29declare { i128, i1 } @llvm.smul.with.overflow.i128(i128, i128) #130 31attributes #0 = { uwtable }32attributes #1 = { nounwind readnone }33attributes #2 = { nounwind }34