[InstCombine] Create new insts in foldICmpEqIntrinsicWithConstant; NFCI
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 30 Jan 2020 21:54:35 +0000 (22:54 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 30 Jan 2020 22:03:16 +0000 (23:03 +0100)
commitcad91074a65ef992a230f071b77912e42eb1a908
tree3565e1dd5b672033e858086e2059cafbb7436332
parent01943a59f51d8b5ede062305941c1f864b8a6a13
[InstCombine] Create new insts in foldICmpEqIntrinsicWithConstant; NFCI

In line with current conventions, create new instructions rather
than modify two operands in place and performing manual worklist
management.

This should be NFC apart from possible worklist order changes.
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp