mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Remove dead variable. Fix 80 column violations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31412 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f05696c1b5
commit
b8f4e0aa17
@ -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
Block a user