mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
15 lines
401 B
Diff
15 lines
401 B
Diff
|
Index: lib/CodeGen/BackendUtil.cpp
|
||
|
===================================================================
|
||
|
--- lib/CodeGen/BackendUtil.cpp (revision 191330)
|
||
|
+++ lib/CodeGen/BackendUtil.cpp (working copy)
|
||
|
@@ -336,6 +336,9 @@
|
||
|
MPM->add(createStripSymbolsPass(true));
|
||
|
}
|
||
|
|
||
|
+ // Force MergeFunctions pass.
|
||
|
+ MPM->add(createMergeFunctionsPass());
|
||
|
+
|
||
|
PMBuilder.populateModulePassManager(*MPM);
|
||
|
}
|
||
|
|