Add an option to enable StrongPHIElimination, for ease of testing.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57259 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/TargetMachine.cpp b/lib/Target/TargetMachine.cpp
index 90efb74..c05efd0 100644
--- a/lib/Target/TargetMachine.cpp
+++ b/lib/Target/TargetMachine.cpp
@@ -39,6 +39,7 @@
   bool RealignStack;
   bool VerboseAsm;
   bool DisableJumpTables;
+  bool StrongPHIElim;
 }
 
 static cl::opt<bool, true> PrintCode("print-machineinstrs",
@@ -157,6 +158,12 @@
            cl::location(DisableJumpTables),
            cl::init(false));
 
+static cl::opt<bool, true>
+EnableStrongPHIElim(cl::Hidden, "strong-phi-elim",
+           cl::desc("Use strong PHI elimination."),
+           cl::location(StrongPHIElim),
+           cl::init(false));
+
 //---------------------------------------------------------------------------
 // TargetMachine Class
 //