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:
parent
635ed24e1d
commit
6a7aa237cc
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue