[NFC] Detect IV increment expressed as uadd_with_overflow and usub_with_overflow
authorMax Kazantsev <mkazantsev@azul.com>
Mon, 1 Mar 2021 06:22:42 +0000 (13:22 +0700)
committerMax Kazantsev <mkazantsev@azul.com>
Mon, 1 Mar 2021 06:24:01 +0000 (13:24 +0700)
commit9fac8496eae809c288096037d7a3f5a1a3d04c7a
treeaf8556c7ff41c5d69d4decfbdc11cd1c0211d65c
parent8d835f42a57f15c0b9053bd7c41ea95821a40e5f
[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.
llvm/lib/CodeGen/CodeGenPrepare.cpp