mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-18 13:34:04 +00:00
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). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197177 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0dbb28f076
commit
8cd46c06f2
@ -44,6 +44,7 @@ void llvm::initializeIPO(PassRegistry &Registry) {
|
|||||||
initializeStripDebugDeclarePass(Registry);
|
initializeStripDebugDeclarePass(Registry);
|
||||||
initializeStripDeadDebugInfoPass(Registry);
|
initializeStripDeadDebugInfoPass(Registry);
|
||||||
initializeStripNonDebugSymbolsPass(Registry);
|
initializeStripNonDebugSymbolsPass(Registry);
|
||||||
|
initializeBarrierNoopPass(Registry);
|
||||||
}
|
}
|
||||||
|
|
||||||
void LLVMInitializeIPO(LLVMPassRegistryRef R) {
|
void LLVMInitializeIPO(LLVMPassRegistryRef R) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user