mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
was ignoring the legalized chain in this case, fixed SPASS on alpha
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25428 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1cdd5c6e11
commit
8ff318b7fb
@ -1469,7 +1469,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
|
||||
// Expand to CopyFromReg if the target set
|
||||
// StackPointerRegisterToSaveRestore.
|
||||
if (unsigned SP = TLI.getStackPointerRegisterToSaveRestore()) {
|
||||
Tmp1 = DAG.getCopyFromReg(Node->getOperand(0), SP,
|
||||
Tmp1 = DAG.getCopyFromReg(Tmp1, SP,
|
||||
Node->getValueType(0));
|
||||
AddLegalizedOperand(SDOperand(Node, 0), Tmp1);
|
||||
AddLegalizedOperand(SDOperand(Node, 1), Tmp1.getValue(1));
|
||||
|
Loading…
Reference in New Issue
Block a user