search for: ischaincompat

Displaying 1 result from an estimated 1 matches for "ischaincompat".

2009 Aug 04
2
[LLVMdev] memory-to-memory instructions
...) == ISD::ADD && N1.hasOneUse()) { SDValue N10 = N1.getOperand(0); if (N10.getOpcode() == ISD::LOAD && N10.hasOneUse() && IsLegalAndProfitableToFold(N10.getNode(), N1.getNode(), N.getNode()) && (Chain.getNode() == N10.getNode() || IsChainCompatible(Chain.getNode(), N10.getNode()))) { ... NEED TO MATCH ABOVE TO GENERATE MEMORY TO MEMORY PATTERN } When debugged we get: N10.hasOneUse() = 1 IsLegalAndProfitableToFold(N10.getNode(), N1.getNode(), N.getNode()) = 0 (Chain.getNode() == N10.getNode()) = 0 IsChainCompatible(Chain.g...