that library consumers access the instcombine pass directly, they also
(transitively) access the worklist. Also, it would need to be used
directly in order to have a useful utility if we ever want that.
This should fix some warnings since I moved this code. Sorry for the
trouble.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227025
91177308-0d34-0410-b5e6-
96231b3b80d8
/// InstCombineWorklist - This is the worklist management logic for
/// InstCombine.
-class LLVM_LIBRARY_VISIBILITY InstCombineWorklist {
+class InstCombineWorklist {
SmallVector<Instruction*, 256> Worklist;
DenseMap<Instruction*, unsigned> WorklistMap;