[llvm] r227025 - [PM] Remove the restricted visibility from the instcombine worklist. Now
Chandler Carruth
chandlerc at gmail.com
Sat Jan 24 16:30:05 PST 2015
Author: chandlerc
Date: Sat Jan 24 18:30:05 2015
New Revision: 227025
URL: http://llvm.org/viewvc/llvm-project?rev=227025&view=rev
Log:
[PM] Remove the restricted visibility from the instcombine worklist. Now
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.
Modified:
llvm/trunk/include/llvm/Transforms/InstCombine/InstCombineWorklist.h
Modified: llvm/trunk/include/llvm/Transforms/InstCombine/InstCombineWorklist.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/InstCombine/InstCombineWorklist.h?rev=227025&r1=227024&r2=227025&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/InstCombine/InstCombineWorklist.h (original)
+++ llvm/trunk/include/llvm/Transforms/InstCombine/InstCombineWorklist.h Sat Jan 24 18:30:05 2015
@@ -23,7 +23,7 @@ namespace llvm {
/// InstCombineWorklist - This is the worklist management logic for
/// InstCombine.
-class LLVM_LIBRARY_VISIBILITY InstCombineWorklist {
+class InstCombineWorklist {
SmallVector<Instruction*, 256> Worklist;
DenseMap<Instruction*, unsigned> WorklistMap;
More information about the llvm-commits
mailing list