HomePhabricator

[InstCombine] Move InstCombineWorklist to Utils to allow reuse (NFC).

Authored by fhahn on Sep 22 2021, 12:19 AM.

Description

[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