Do run ComputeLiveOutVRegInfo with -fast.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 1 Jul 2008 18:15:04 +0000 (18:15 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 1 Jul 2008 18:15:04 +0000 (18:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52975 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 9ee419251c6b54f4291ada681112b0796f9911cb..12ba6ac3583abad2481965a27c246298d44594f3 100644 (file)
@@ -5347,7 +5347,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG(SelectionDAG &DAG) {
 
   if (ViewISelDAGs) DAG.viewGraph();
   
-  if (EnableValueProp)  // FIXME: Only do this if !fast.
+  if (!FastISel && EnableValueProp)
     ComputeLiveOutVRegInfo(DAG);
 
   // Third, instruction select all of the operations to machine code, adding the