[Diffusion] rL341831: InstCombine: move hasOneUse check to the top of foldICmpAddConstant
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 22 02:15:10 PST 2019
lebedev.ri added a comment.
(resubmitting with lists added)
@t.p.northover why was this change done? There is no real motivation stated in the commit message. Can this be reverted?
The old position of one-use check was correct, it guarded only the transforms that had to be guarded - the ones that produced two instructions.
https://reviews.llvm.org/rL341831
More information about the llvm-commits
mailing list