mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-01 12:24:24 +00:00
cleanup GETFD
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25198 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -411,10 +411,9 @@ SDOperand IA64DAGToDAGISel::Select(SDOperand Op) {
|
|||||||
|
|
||||||
case IA64ISD::GETFD: {
|
case IA64ISD::GETFD: {
|
||||||
SDOperand Input = Select(N->getOperand(0));
|
SDOperand Input = Select(N->getOperand(0));
|
||||||
SDOperand Result = CurDAG->getTargetNode(IA64::GETFD, MVT::i64, MVT::Flag, Input);
|
SDOperand Result = CurDAG->getTargetNode(IA64::GETFD, MVT::i64, Input);
|
||||||
CodeGenMap[Op.getValue(0)] = Result;
|
CodeGenMap[Op] = Result;
|
||||||
CodeGenMap[Op.getValue(1)] = Result.getValue(1);
|
return Result;
|
||||||
return Result.getValue(Op.ResNo);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
case ISD::CALL:
|
case ISD::CALL:
|
||||||
|
Reference in New Issue
Block a user