mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-13 17:00:01 +00:00
Fix another bug in extload promotion.
llvm-svn: 30857
This commit is contained in:
parent
413aa20bc8
commit
e0734f522f
@ -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…
x
Reference in New Issue
Block a user