[TableGen] Remove an assumption about the order of encodings in the MVT::SimpleValueT...
[oota-llvm.git] / utils / Misc / mergefunctions.clang.svn.patch
1 Index: lib/CodeGen/BackendUtil.cpp
2 ===================================================================
3 --- lib/CodeGen/BackendUtil.cpp (revision 191330)
4 +++ lib/CodeGen/BackendUtil.cpp (working copy)
5 @@ -336,6 +336,9 @@
6        MPM->add(createStripSymbolsPass(true));
7    }
8  
9 +  // Force MergeFunctions pass.
10 +  MPM->add(createMergeFunctionsPass());
11 +
12    PMBuilder.populateModulePassManager(*MPM);
13  }
14