mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-19 02:25:01 +00:00
Backing out 48222 temporarily.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49124 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -137,7 +137,7 @@ NodeDone:
|
||||
|
||||
for (SDNode::use_iterator UI = N->use_begin(), E = N->use_end();
|
||||
UI != E; ++UI) {
|
||||
SDNode *User = UI->getUser();
|
||||
SDNode *User = *UI;
|
||||
int NodeID = User->getNodeId();
|
||||
assert(NodeID != ReadyToProcess && NodeID != Processed &&
|
||||
"Invalid node id for user of unprocessed node!");
|
||||
@@ -344,7 +344,7 @@ void DAGTypeLegalizer::ReplaceNodeWith(SDNode *From, SDNode *To) {
|
||||
/// RemapNode - If the specified value was already legalized to another value,
|
||||
/// replace it by that value.
|
||||
void DAGTypeLegalizer::RemapNode(SDOperand &N) {
|
||||
DenseMap<SDOperandImpl, SDOperand>::iterator I = ReplacedNodes.find(N);
|
||||
DenseMap<SDOperand, SDOperand>::iterator I = ReplacedNodes.find(N);
|
||||
if (I != ReplacedNodes.end()) {
|
||||
// Use path compression to speed up future lookups if values get multiply
|
||||
// replaced with other values.
|
||||
|
Reference in New Issue
Block a user