[Diffusion] rL341831: InstCombine: move hasOneUse check to the top of foldICmpAddConstant

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 24 09:51:36 PST 2019


lebedev.ri added inline comments.

/llvm/trunk/test/Transforms/InstCombine/icmp-add.ll:84 @t.p.northover 
What is this test even supposed to test?
It certainly does not seem to test the moved one-use check, since there are no no-wrap flags on this `add`.


https://reviews.llvm.org/rL341831





More information about the llvm-commits mailing list