[all-commits] [llvm/llvm-project] 09d6fa: [InstCombine] Handle use count decrement in more c...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jun 14 01:03:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09d6fa7968e8299c1b9348dc66c1ead477fb5580
      https://github.com/llvm/llvm-project/commit/09d6fa7968e8299c1b9348dc66c1ead477fb5580
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-06-14 (Wed, 14 Jun 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/InstCombine/InstCombiner.h

  Log Message:
  -----------
  [InstCombine] Handle use count decrement in more cases

These two helpers also decrement the use count of the replaced
operand, so give them the same treatment as eraseInstruction().




More information about the All-commits mailing list