mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Handle AssertSext/AssertZext nodes, fixing the regressions last night.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23170 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7383ce4127
commit
5dd7fea3f2
@ -781,6 +781,10 @@ unsigned ISel::SelectExpr(SDOperand N, bool Recording) {
|
||||
Reg = Result = (N.getValueType() != MVT::Other) ?
|
||||
MakeReg(N.getValueType()) : 1;
|
||||
break;
|
||||
case ISD::AssertSext:
|
||||
case ISD::AssertZext:
|
||||
// Don't allocate a vreg for these nodes.
|
||||
return Reg = SelectExpr(N.getOperand(0));
|
||||
case ISD::TAILCALL:
|
||||
case ISD::CALL:
|
||||
// If this is a call instruction, make sure to prepare ALL of the result
|
||||
|
Loading…
x
Reference in New Issue
Block a user