[llvm-commits] [llvm] r141172 -	/llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp
    Cameron Zwarich 
    zwarich at apple.com
       
    Wed Oct  5 01:59:06 PDT 2011
    
    
  
Author: zwarich
Date: Wed Oct  5 03:59:05 2011
New Revision: 141172
URL: http://llvm.org/viewvc/llvm-project?rev=141172&view=rev
Log:
There is no point in setting out-parameters for a ComplexPattern function when
it returns false, at least as far as I could tell by reading the code.
Modified:
    llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp?rev=141172&r1=141171&r2=141172&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp Wed Oct  5 03:59:05 2011
@@ -1287,7 +1287,6 @@
 
   if (Subtarget->isCortexA9() && !N.hasOneUse()) {
     // Compute R + (R << [1,2,3]) and reuse it.
-    Base = N;
     return false;
   }
 
    
    
More information about the llvm-commits
mailing list