[all-commits] [llvm/llvm-project] 2a7754: [SimplifyLibCalls] Erase replaced instructions

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Apr 1 11:00:53 PDT 2020


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

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp

  Log Message:
  -----------
  [SimplifyLibCalls] Erase replaced instructions

After RAUWing an instruction, also erase it. This makes sure we
don't perform extra InstCombine iterations to clean up the garbage.




More information about the All-commits mailing list