mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
silence a warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25184 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1975,13 +1975,14 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
|
||||
case TargetLowering::Custom: {
|
||||
SDOperand Tmp = TLI.LowerOperation(Result, DAG);
|
||||
if (Tmp.Val) {
|
||||
SDOperand Tmp2, RetVal;
|
||||
SDOperand Tmp2, RetVal(0,0);
|
||||
for (unsigned i = 0, e = Node->getNumValues(); i != e; ++i) {
|
||||
Tmp2 = LegalizeOp(Tmp.getValue(i));
|
||||
AddLegalizedOperand(SDOperand(Node, i), Tmp2);
|
||||
if (i == Op.ResNo)
|
||||
RetVal = Tmp;
|
||||
}
|
||||
assert(RetVal.Val && "Illegal result number");
|
||||
return RetVal;
|
||||
}
|
||||
// FALLTHROUGH if the target thinks it is legal.
|
||||
|
||||
Reference in New Issue
Block a user