[GlobalMerge] Allow targets to enable merging of extern variables, NFC.
[oota-llvm.git] / include / llvm / Transforms / Scalar.h
index 99fff376ecd1603316ec05fb0338176e87d79e1e..1d6d10f42a72ee1ab2b8a37dbd9235136c154a3a 100644 (file)
@@ -161,7 +161,8 @@ Pass *createLoopStrengthReducePass();
 // It can also be configured to focus on size optimizations only.
 //
 Pass *createGlobalMergePass(const TargetMachine *TM, unsigned MaximalOffset,
-                            bool OnlyOptimizeForSize = false);
+                            bool OnlyOptimizeForSize = false,
+                            bool MergeExternalByDefault = false);
 
 //===----------------------------------------------------------------------===//
 //
@@ -486,6 +487,6 @@ FunctionPass *createNaryReassociatePass();
 //
 FunctionPass *createLoopDistributePass();
 
-} // namespace llvm
+} // End llvm namespace
 
 #endif