mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-12 18:33:22 +00:00
Tidy up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149521 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bb7cd0cf31
commit
c2348d5c08
@ -14306,7 +14306,7 @@ static SDValue PerformSTORECombine(SDNode *N, SelectionDAG &DAG,
|
|||||||
Ld = cast<LoadSDNode>(St->getChain());
|
Ld = cast<LoadSDNode>(St->getChain());
|
||||||
else if (St->getValue().hasOneUse() &&
|
else if (St->getValue().hasOneUse() &&
|
||||||
ChainVal->getOpcode() == ISD::TokenFactor) {
|
ChainVal->getOpcode() == ISD::TokenFactor) {
|
||||||
for (unsigned i=0, e = ChainVal->getNumOperands(); i != e; ++i) {
|
for (unsigned i = 0, e = ChainVal->getNumOperands(); i != e; ++i) {
|
||||||
if (ChainVal->getOperand(i).getNode() == LdVal) {
|
if (ChainVal->getOperand(i).getNode() == LdVal) {
|
||||||
TokenFactorIndex = i;
|
TokenFactorIndex = i;
|
||||||
Ld = cast<LoadSDNode>(St->getValue());
|
Ld = cast<LoadSDNode>(St->getValue());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user