forked from OSchip/llvm-project
Add braces around something that throws me for a loop.
llvm-svn: 141173
This commit is contained in:
parent
6a7aa237cc
commit
2226b4be09
|
@ -519,9 +519,10 @@ bool ARMDAGToDAGISel::SelectLdStSOReg(SDValue N, SDValue &Base, SDValue &Offset,
|
|||
return false;
|
||||
}
|
||||
|
||||
if (Subtarget->isCortexA9() && !N.hasOneUse())
|
||||
if (Subtarget->isCortexA9() && !N.hasOneUse()) {
|
||||
// Compute R +/- (R << N) and reuse it.
|
||||
return false;
|
||||
}
|
||||
|
||||
// Otherwise this is R +/- [possibly shifted] R.
|
||||
ARM_AM::AddrOpc AddSub = N.getOpcode() == ISD::SUB ? ARM_AM::sub:ARM_AM::add;
|
||||
|
|
Loading…
Reference in New Issue