mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192406 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b803d6bf62
commit
6c066c044e
@ -887,8 +887,8 @@ void SITargetLowering::ensureSRegLimit(SelectionDAG &DAG, SDValue &Operand,
|
||||
return;
|
||||
}
|
||||
|
||||
// This is a conservative aproach, it is possible that we can't determine
|
||||
// the correct register class and copy too often, but better save than sorry.
|
||||
// This is a conservative aproach. It is possible that we can't determine the
|
||||
// correct register class and copy too often, but better safe than sorry.
|
||||
SDValue RC = DAG.getTargetConstant(RegClass, MVT::i32);
|
||||
SDNode *Node = DAG.getMachineNode(TargetOpcode::COPY_TO_REGCLASS, SDLoc(),
|
||||
Operand.getValueType(), Operand, RC);
|
||||
|
Loading…
Reference in New Issue
Block a user