[all-commits] [llvm/llvm-project] e08a5d: [InstCombine] Move InstCombineWorklist to Utils to...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Sep 22 00:48:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e08a5dc86f1ff868a61e74bfea413889a3d5915f
      https://github.com/llvm/llvm-project/commit/e08a5dc86f1ff868a61e74bfea413889a3d5915f
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M llvm/include/llvm/Transforms/InstCombine/InstCombine.h
    R llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h
    M llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
    A llvm/include/llvm/Transforms/Utils/InstructionWorklist.h
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp

  Log Message:
  -----------
  [InstCombine] Move InstCombineWorklist to Utils to allow reuse (NFC).

InstCombine's worklist can be re-used by other passes like
VectorCombine. Move it to llvm/Transform/Utils and rename it to
InstructionWorklist.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D110181




More information about the All-commits mailing list