SuccessChanges

Summary

  1. [NFC] Introduce function getIVStep for further reuse (details)
  2. [NFC] Detect IV increment expressed as uadd_with_overflow and usub_with_overflow (details)
Commit 8d835f42a57f15c0b9053bd7c41ea95821a40e5f by mkazantsev
[NFC] Introduce function getIVStep for further reuse
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
Commit 9fac8496eae809c288096037d7a3f5a1a3d04c7a by mkazantsev
[NFC] Detect IV increment expressed as uadd_with_overflow and usub_with_overflow

Current callers do not call it with such argument, so this is NFC.
But for further changes, it can be very useful to detect such cases.
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp