[all-commits] [llvm/llvm-project] 19df7f: [InstCombine] Erase old alloca in cast of alloca t...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Mar 31 12:59:25 PDT 2020


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

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

  Log Message:
  -----------
  [InstCombine] Erase old alloca in cast of alloca transform

As we don't return the replaceInstUsesWith() result, we are
responsible for erasing the instruction.

NFC apart from worklist order.




More information about the All-commits mailing list