mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-24 12:29:33 +00:00
fix a thinko in the bit_convert handling code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24972 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
80f55abf00
commit
ed7b5babfb
@ -2804,8 +2804,7 @@ SDOperand SelectionDAGLegalize::ExpandBIT_CONVERT(MVT::ValueType DestVT,
|
||||
|
||||
// Emit a store to the stack slot.
|
||||
SDOperand Store = DAG.getNode(ISD::STORE, MVT::Other, DAG.getEntryNode(),
|
||||
SrcOp.getOperand(0), FIPtr,
|
||||
DAG.getSrcValue(NULL));
|
||||
SrcOp, FIPtr, DAG.getSrcValue(NULL));
|
||||
// Result is a load from the stack slot.
|
||||
return DAG.getLoad(DestVT, Store, FIPtr, DAG.getSrcValue(0));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user