From: Cameron Zwarich Date: Wed, 5 Oct 2011 08:59:05 +0000 (+0000) Subject: There is no point in setting out-parameters for a ComplexPattern function when X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5ee02620146bda648a191da6323c34887b987a8a;p=oota-llvm.git 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141172 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMISelDAGToDAG.cpp b/lib/Target/ARM/ARMISelDAGToDAG.cpp index 66fc754dd01..65e7adbcd66 100644 --- a/lib/Target/ARM/ARMISelDAGToDAG.cpp +++ b/lib/Target/ARM/ARMISelDAGToDAG.cpp @@ -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; }