Home | History | Annotate | Download | only in PowerPC
      1 ; RUN: llc -O1 -verify-machineinstrs < %s
      2 target datalayout = "E-m:e-i64:64-n32:64"
      3 target triple = "powerpc64-unknown-linux-gnu"
      4 
      5 ; Function Attrs: uwtable
      6 define fastcc void @_Crash_Fn() unnamed_addr #0 {
      7 entry-block:
      8   br label %_Label_0
      9 
     10 _Label_0:                                         ; preds = %_Label_0, %entry-block
     11   %result.0138 = phi i128 [ %5, %_Label_0 ], [ 0, %entry-block ]
     12   %iter.sroa.0.0137 = phi i8* [ %0, %_Label_0 ], [ undef, %entry-block ]
     13   %0 = getelementptr inbounds i8, i8* %iter.sroa.0.0137, i64 1
     14   %1 = tail call { i128, i1 } @llvm.smul.with.overflow.i128(i128 %result.0138, i128 undef) #2
     15   %2 = extractvalue { i128, i1 } %1, 0
     16   %3 = tail call { i128, i1 } @llvm.sadd.with.overflow.i128(i128 %2, i128 0) #2
     17   %4 = extractvalue { i128, i1 } %3, 1
     18   %5 = extractvalue { i128, i1 } %3, 0
     19   %6 = icmp eq i8* %0, null
     20   br i1 %6, label %bb66.loopexit, label %_Label_0
     21 
     22 bb66.loopexit:                                    ; preds = %_Label_0
     23   unreachable
     24 }
     25 
     26 ; Function Attrs: nounwind readnone
     27 declare { i128, i1 } @llvm.sadd.with.overflow.i128(i128, i128) #1
     28 
     29 ; Function Attrs: nounwind readnone
     30 declare { i128, i1 } @llvm.smul.with.overflow.i128(i128, i128) #1
     31 
     32 attributes #0 = { uwtable }
     33 attributes #1 = { nounwind readnone }
     34 attributes #2 = { nounwind }
     35