mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 22:23:10 +00:00
Another API change to MRegisterInfo::foldMemoryOperand. Instead of a
MachineBasicBlock::iterator take a MachineInstr*. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12392 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -132,10 +132,9 @@ static MachineInstr *MakeRMIInst(unsigned Opcode, unsigned FrameIndex,
|
||||
}
|
||||
|
||||
|
||||
MachineInstr* X86RegisterInfo::foldMemoryOperand(
|
||||
MachineBasicBlock::iterator MI,
|
||||
unsigned i,
|
||||
int FrameIndex) const {
|
||||
MachineInstr* X86RegisterInfo::foldMemoryOperand(MachineInstr* MI,
|
||||
unsigned i,
|
||||
int FrameIndex) const {
|
||||
if (NoFusing) return NULL;
|
||||
|
||||
/// FIXME: This should obviously be autogenerated by tablegen when patterns
|
||||
|
||||
Reference in New Issue
Block a user