[PATCH] D74932: [InstCombine] Use replaceOperand() in more places

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 20 14:39:19 PST 2020


nikic created this revision.
nikic added reviewers: spatel, lebedev.ri, xbolva00.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Followup to D73919 <https://reviews.llvm.org/D73919> with another batch of replacements of setOperand -> replaceOperand, to make sure the old operand gets DCEd right away.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74932

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74932.245749.patch
Type: text/x-patch
Size: 11080 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200220/1fec8610/attachment.bin>


More information about the llvm-commits mailing list