Match tblgen change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26096 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2006-02-09 22:12:53 +00:00
parent 67212a05e6
commit 7d82d607c5

View File

@ -536,7 +536,7 @@ void X86DAGToDAGISel::Select(SDOperand &Result, SDOperand N) {
CodeGenMap[N.getValue(0)] = Result;
if (foldedLoad) {
CodeGenMap[N1.getValue(1)] = Result.getValue(1);
AddHandleReplacement(N1.getValue(1), Result.getValue(1));
AddHandleReplacement(N1.Val, 1, Result.Val, 1);
}
return;
@ -637,7 +637,7 @@ void X86DAGToDAGISel::Select(SDOperand &Result, SDOperand N) {
CodeGenMap[N.getValue(0)] = Result;
if (foldedLoad) {
CodeGenMap[N1.getValue(1)] = Result.getValue(1);
AddHandleReplacement(N1.getValue(1), Result.getValue(1));
AddHandleReplacement(N1.Val, 1, Result.Val, 1);
}
return;
}