[all-commits] [llvm/llvm-project] 63babf: [InstCombine] Fix worklist management in transform...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jun 1 01:35:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63babf54c22ab2045082b03d6794fac0738cad25
      https://github.com/llvm/llvm-project/commit/63babf54c22ab2045082b03d6794fac0738cad25
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-06-01 (Thu, 01 Jun 2023)

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

  Log Message:
  -----------
  [InstCombine] Fix worklist management in transformToIndexedCompare()

Use replaceInstUsesWith() rather than plain RAUW to make sure the
old instructions are added back to the worklist for DCE.




More information about the All-commits mailing list