[all-commits] [llvm/llvm-project] 656dff: [InstCombine] Use replaceOperand() in more places

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Feb 21 09:42:30 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 656dff9af48bd242fc0f8a20cf50c6d0921df052
      https://github.com/llvm/llvm-project/commit/656dff9af48bd242fc0f8a20cf50c6d0921df052
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp

  Log Message:
  -----------
  [InstCombine] Use replaceOperand() in more places

Followup to D73919 with another batch of replacements of
setOperand() -> replaceOperand(), to make sure the old
operand gets DCEd right away.

Differential Revision: https://reviews.llvm.org/D74932




More information about the All-commits mailing list