mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 18:31:23 +00:00
Nate noticed that Andrew never did this. This fixes PR600
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23110 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9d3a483a38
commit
eb150d7d1f
@ -2005,7 +2005,7 @@ SDOperand SelectionDAGLegalize::PromoteOp(SDOperand Op) {
|
||||
Result = DAG.getNode(ISD::UNDEF, NVT);
|
||||
break;
|
||||
case ISD::Constant:
|
||||
Result = DAG.getNode(ISD::ZERO_EXTEND, NVT, Op);
|
||||
Result = DAG.getNode(ISD::SIGN_EXTEND, NVT, Op);
|
||||
assert(isa<ConstantSDNode>(Result) && "Didn't constant fold zext?");
|
||||
break;
|
||||
case ISD::ConstantFP:
|
||||
|
Loading…
Reference in New Issue
Block a user