[llvm] r197177 - Initialize the barrier pass llvm::initializeIPO
Hal Finkel
hfinkel at anl.gov
Thu Dec 12 12:45:08 PST 2013
Author: hfinkel
Date: Thu Dec 12 14:45:08 2013
New Revision: 197177
URL: http://llvm.org/viewvc/llvm-project?rev=197177&view=rev
Log:
Initialize the barrier pass llvm::initializeIPO
The barrier pass is a temporary hack, and should go away soon. Nevertheless, if
we don't initialize it, then opt will not understand -barrier, and this will
break bugpoint (because when it dumps the passes from the default pass manager
-barrier will be there).
Modified:
llvm/trunk/lib/Transforms/IPO/IPO.cpp
Modified: llvm/trunk/lib/Transforms/IPO/IPO.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/IPO.cpp?rev=197177&r1=197176&r2=197177&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/IPO.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/IPO.cpp Thu Dec 12 14:45:08 2013
@@ -44,6 +44,7 @@ void llvm::initializeIPO(PassRegistry &R
initializeStripDebugDeclarePass(Registry);
initializeStripDeadDebugInfoPass(Registry);
initializeStripNonDebugSymbolsPass(Registry);
+ initializeBarrierNoopPass(Registry);
}
void LLVMInitializeIPO(LLVMPassRegistryRef R) {
More information about the llvm-commits
mailing list