mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 23:18:51 +00:00
Use the getNode() accessor instead of accessing the Node
member directly, which is private as of r55504. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62364 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3326f16036
commit
b6a6164832
@ -3358,7 +3358,7 @@ SDValue DAGCombiner::ReduceLoadWidth(SDNode *N) {
|
|||||||
: DAG.getExtLoad(ExtType, VT, LN0->getChain(), NewPtr,
|
: DAG.getExtLoad(ExtType, VT, LN0->getChain(), NewPtr,
|
||||||
LN0->getSrcValue(), LN0->getSrcValueOffset() + PtrOff,
|
LN0->getSrcValue(), LN0->getSrcValueOffset() + PtrOff,
|
||||||
EVT, LN0->isVolatile(), NewAlign);
|
EVT, LN0->isVolatile(), NewAlign);
|
||||||
AddToWorkList(Load.Node);
|
AddToWorkList(Load.getNode());
|
||||||
if (CombineSRL) {
|
if (CombineSRL) {
|
||||||
WorkListRemover DeadNodes(*this);
|
WorkListRemover DeadNodes(*this);
|
||||||
DAG.ReplaceAllUsesOfValueWith(N0.getValue(1), Load.getValue(1),
|
DAG.ReplaceAllUsesOfValueWith(N0.getValue(1), Load.getValue(1),
|
||||||
|
Loading…
Reference in New Issue
Block a user