There is no point in setting out-parameters for a ComplexPattern function when
authorCameron Zwarich <zwarich@apple.com>
Wed, 5 Oct 2011 08:59:05 +0000 (08:59 +0000)
committerCameron Zwarich <zwarich@apple.com>
Wed, 5 Oct 2011 08:59:05 +0000 (08:59 +0000)
it returns false, at least as far as I could tell by reading the code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141172 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMISelDAGToDAG.cpp

index 66fc754dd01b9daec93a6b187b85c7b6a39b2b52..65e7adbcd66485229d6de0ec4b1c81c617e97489 100644 (file)
@@ -1287,7 +1287,6 @@ bool ARMDAGToDAGISel::SelectT2AddrModeSoReg(SDValue N,
 
   if (Subtarget->isCortexA9() && !N.hasOneUse()) {
     // Compute R + (R << [1,2,3]) and reuse it.
-    Base = N;
     return false;
   }