From: Chandler Carruth Date: Sun, 25 Jan 2015 00:30:05 +0000 (+0000) Subject: [PM] Remove the restricted visibility from the instcombine worklist. Now X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d9556bd73fbdfd8f35b2abf9af4f32a171939e6c;p=oota-llvm.git [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227025 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/InstCombine/InstCombineWorklist.h b/include/llvm/Transforms/InstCombine/InstCombineWorklist.h index 720ba138bb7..63b6372ae23 100644 --- a/include/llvm/Transforms/InstCombine/InstCombineWorklist.h +++ b/include/llvm/Transforms/InstCombine/InstCombineWorklist.h @@ -23,7 +23,7 @@ namespace llvm { /// InstCombineWorklist - This is the worklist management logic for /// InstCombine. -class LLVM_LIBRARY_VISIBILITY InstCombineWorklist { +class InstCombineWorklist { SmallVector Worklist; DenseMap WorklistMap;