]> granicus.if.org Git - llvm/commit
[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)
commita63bbbc0d5fe8add01f66fb490040667fb4d68dc
tree4fcc2011831c8e7cc198805cccc91b1fed43c823
parentcdff95b29b8d552d09965511e81122d1123a5def
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366747 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/PhaseOrdering/unsigned-multiply-overflow-check.ll [new file with mode: 0644]