[NFC][PhaseOrdering] Add tests showcasing the problems of unsigned multiply overflow...
authorRoman Lebedev <lebedev.ri@gmail.com>
Mon, 22 Jul 2019 22:08:35 +0000 (22:08 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Mon, 22 Jul 2019 22:08:35 +0000 (22:08 +0000)
commit6b248fca333831baa0bc3a0de169befd2a832628
treea38711c5c1136dc99918bdd668d46c2fd2230cd8
parentd5a52aeab6a58db33fe269b50a5ae0fe1ee149d0
[NFC][PhaseOrdering] Add tests showcasing the problems of unsigned multiply overflow check

While we can form the @llvm.mul.with.overflow easily,
we are still left with that check that was guarding against div-by-0.
And in the second case we won't even flatten the CFG.

llvm-svn: 366747
llvm/test/Transforms/PhaseOrdering/unsigned-multiply-overflow-check.ll [new file with mode: 0644]