mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
Fix another bug in extload promotion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30857 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0d9fe764df
commit
55b5708b6b
@ -3237,7 +3237,8 @@ SDOperand SelectionDAGLegalize::PromoteOp(SDOperand Op) {
|
||||
? ISD::EXTLOAD : LD->getExtensionType();
|
||||
Result = DAG.getExtLoad(ExtType, NVT,
|
||||
LD->getChain(), LD->getBasePtr(),
|
||||
LD->getSrcValue(), LD->getSrcValueOffset(), VT);
|
||||
LD->getSrcValue(), LD->getSrcValueOffset(),
|
||||
LD->getLoadVT());
|
||||
// Remember that we legalized the chain.
|
||||
AddLegalizedOperand(Op.getValue(1), LegalizeOp(Result.getValue(1)));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user