mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 18:31:04 +00:00
Handle Values with no value in getCopyFromRegs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109415 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d805bcbb06
commit
7da5d3fc65
@ -530,6 +530,10 @@ SDValue RegsForValue::getCopyFromRegs(SelectionDAG &DAG,
|
||||
FunctionLoweringInfo &FuncInfo,
|
||||
DebugLoc dl,
|
||||
SDValue &Chain, SDValue *Flag) const {
|
||||
// A Value with type {} or [0 x %t] needs no registers.
|
||||
if (ValueVTs.empty())
|
||||
return SDValue();
|
||||
|
||||
const TargetLowering &TLI = DAG.getTargetLoweringInfo();
|
||||
|
||||
// Assemble the legal parts into the final values.
|
||||
|
Loading…
Reference in New Issue
Block a user