undef.ll 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. ; RUN: opt < %s -analyze -delinearize
  2. target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
  3. target triple = "x86_64-unknown-linux-gnu"
  4. define void @foo(double* %Ey) {
  5. entry:
  6. br i1 undef, label %for.cond55.preheader, label %for.end324
  7. for.cond55.preheader:
  8. %iz.069 = phi i64 [ %inc323, %for.inc322 ], [ 0, %entry ]
  9. br i1 undef, label %for.cond58.preheader, label %for.inc322
  10. for.cond58.preheader:
  11. %iy.067 = phi i64 [ %inc320, %for.end ], [ 0, %for.cond55.preheader ]
  12. br i1 undef, label %for.body60, label %for.end
  13. for.body60:
  14. %ix.062 = phi i64 [ %inc, %for.body60 ], [ 0, %for.cond58.preheader ]
  15. %0 = mul i64 %iz.069, undef
  16. %tmp5 = add i64 %iy.067, %0
  17. %tmp6 = mul i64 %tmp5, undef
  18. %arrayidx69.sum = add i64 undef, %tmp6
  19. %arrayidx70 = getelementptr inbounds double, double* %Ey, i64 %arrayidx69.sum
  20. %1 = load double, double* %arrayidx70, align 8
  21. %inc = add nsw i64 %ix.062, 1
  22. br i1 false, label %for.body60, label %for.end
  23. for.end:
  24. %inc320 = add nsw i64 %iy.067, 1
  25. br i1 undef, label %for.cond58.preheader, label %for.inc322
  26. for.inc322:
  27. %inc323 = add nsw i64 %iz.069, 1
  28. br i1 undef, label %for.cond55.preheader, label %for.end324
  29. for.end324:
  30. ret void
  31. }