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.

llvm-svn: 141172
This commit is contained in:
Cameron Zwarich 2011-10-05 08:59:05 +00:00
parent 635ed24e1d
commit 6a7aa237cc
1 changed files with 0 additions and 1 deletions

View File

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