diff options
| author | Stepan Dyatkovskiy <stpworld@narod.ru> | 2013-09-24 20:06:31 +0000 |
|---|---|---|
| committer | Stepan Dyatkovskiy <stpworld@narod.ru> | 2013-09-24 20:06:31 +0000 |
| commit | 296484eae20e9a736b56293380922a1737c22e4e (patch) | |
| tree | fd8f01afcba90b5c4feea58e5a4de1eac2404b4c /llvm/utils | |
| parent | ea4ca1a099381da819e1ddc5ada43fd0758695ae (diff) | |
| download | bcm5719-llvm-296484eae20e9a736b56293380922a1737c22e4e.tar.gz bcm5719-llvm-296484eae20e9a736b56293380922a1737c22e4e.zip | |
Patch that forces MergeFunctions pass for clang.
It is temporary patch. We need to keep it in trunk, since it makes easer to test it on buildbots on different platforms.
Once we see stable MergeFunctions behaviour with satisfied perfomance, this patch will be removed.
llvm-svn: 191331
Diffstat (limited to 'llvm/utils')
| -rw-r--r-- | llvm/utils/Misc/mergefunctions.clang.svn.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/utils/Misc/mergefunctions.clang.svn.patch b/llvm/utils/Misc/mergefunctions.clang.svn.patch new file mode 100644 index 00000000000..6e2f0f52279 --- /dev/null +++ b/llvm/utils/Misc/mergefunctions.clang.svn.patch @@ -0,0 +1,14 @@ +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); + } + |

