[all-commits] [llvm/llvm-project] d40368: [InstCombine] Erase old instruction when replacing...

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


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

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

  Log Message:
  -----------
  [InstCombine] Erase old instruction when replacing extractelements

As we are not returning the result of replaceInstUsesWith(),
so we need to clean up ourselves.

NFC apart from worklist order.




More information about the All-commits mailing list