mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Change MachineMemOperand's alignment value to be the alignment of
the base pointer, without the offset. This matches MemSDNode's new alignment behavior, and holds more interesting information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82473 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -473,7 +473,7 @@ void StackSlotColoring::RewriteInstruction(MachineInstr *MI, int OldFI,
|
||||
else {
|
||||
MachineMemOperand MMO(PseudoSourceValue::getFixedStack(NewFI),
|
||||
MMOs[i].getFlags(), MMOs[i].getOffset(),
|
||||
MMOs[i].getSize(), MMOs[i].getAlignment());
|
||||
MMOs[i].getSize(), MMOs[i].getBaseAlignment());
|
||||
MI->addMemOperand(MF, MMO);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user