forked from OSchip/llvm-project
Remove dead variable. Fix 80 column violations.
llvm-svn: 31412
This commit is contained in:
parent
4ece5c04f4
commit
52f958741a
|
@ -176,7 +176,6 @@ namespace {
|
|||
|
||||
bool CombineToIndexedLoadStore(SDNode *N) {
|
||||
SDOperand Ptr;
|
||||
bool isLoad = true;
|
||||
if (LoadSDNode *LD = dyn_cast<LoadSDNode>(N)) {
|
||||
Ptr = LD->getBasePtr();
|
||||
} else
|
||||
|
@ -200,7 +199,8 @@ namespace {
|
|||
// themselves use of loads / stores.
|
||||
|
||||
bool OffIsAMImm = Offset.getOpcode() == ISD::Constant &&
|
||||
TLI.isLegalAddressImmediate(cast<ConstantSDNode>(Offset)->getValue());
|
||||
TLI.isLegalAddressImmediate(
|
||||
cast<ConstantSDNode>(Offset)->getValue());
|
||||
|
||||
// Check for #3.
|
||||
if (OffIsAMImm && BasePtr.Val->use_size() > 1) {
|
||||
|
|
Loading…
Reference in New Issue