mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-16 14:27:54 +00:00
Fix a compilation warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44691 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -615,7 +615,7 @@ MachineInstr *PPCRegisterInfo::foldMemoryOperand(MachineInstr *MI,
|
|||||||
|
|
||||||
bool PPCRegisterInfo::canFoldMemoryOperand(MachineInstr *MI,
|
bool PPCRegisterInfo::canFoldMemoryOperand(MachineInstr *MI,
|
||||||
SmallVectorImpl<unsigned> &Ops) const {
|
SmallVectorImpl<unsigned> &Ops) const {
|
||||||
if (Ops.size() != 1) return NULL;
|
if (Ops.size() != 1) return false;
|
||||||
|
|
||||||
// Make sure this is a reg-reg copy. Note that we can't handle MCRF, because
|
// Make sure this is a reg-reg copy. Note that we can't handle MCRF, because
|
||||||
// it takes more than one instruction to store it.
|
// it takes more than one instruction to store it.
|
||||||
|
Reference in New Issue
Block a user