[all-commits] [llvm/llvm-project] a9ddcd: [InstCombine] Erase old add when optimizing add ov...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sun Mar 29 11:20:23 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a9ddcd6411bcbffe551641a91413c417de491189
      https://github.com/llvm/llvm-project/commit/a9ddcd6411bcbffe551641a91413c417de491189
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-03-29 (Sun, 29 Mar 2020)

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

  Log Message:
  -----------
  [InstCombine] Erase old add when optimizing add overflow

We don't return the replaceInstUsesWith() result, so we're
responsible for cleaning up.

NFC apart from worklist order changes.




More information about the All-commits mailing list