[all-commits] [llvm/llvm-project] 4b35c8: [InstCombine] Use replaceOperand() in div transforms

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Apr 1 10:55:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b35c816ef7afd9e39da621174c1b03b2f325830
      https://github.com/llvm/llvm-project/commit/4b35c816ef7afd9e39da621174c1b03b2f325830
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-04-01 (Wed, 01 Apr 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp

  Log Message:
  -----------
  [InstCombine] Use replaceOperand() in div transforms

To make sure the old operand is DCEd.

NFC apart from worklist order.




More information about the All-commits mailing list