[InstCombine] Return instruction from replaceUse()
Same as with other replacement methods, it's generally necessary to report a change on the instruction itself, e.g. by returning it from the visit method (or possibly explicitly adding it to the worklist). Return Instruction * from replaceUse() to encourage the usual "return replaceXYZ" pattern.
Loading
Please sign in to comment