Displaying 4 results from an estimated 4 matches for "retop".
Did you mean:
relop
2013 Feb 02
0
[LLVMdev] Moving return value registers from MRI to return instructions
...MachineRegisterInfo &MRI = DAG.getMachineFunction().getRegInfo();
- for (unsigned i = 0; i != RVLocs.size(); ++i)
- if (RVLocs[i].isRegLoc() && !MRI.isLiveOut(RVLocs[i].getLocReg()))
- MRI.addLiveOut(RVLocs[i].getLocReg());
-
SDValue Flag;
-
SmallVector<SDValue, 6> RetOps;
RetOps.push_back(Chain); // Operand #0 = Chain (updated below)
// Operand #1 = Bytes To Pop
@@ -1666,6 +1659,7 @@ X86TargetLowering::LowerReturn(SDValue Chain,
Chain = DAG.getCopyToReg(Chain, dl, VA.getLocReg(), ValToCopy, Flag);
Flag = Chain.getValue(1);
+ RetOps.push_back(D...
2008 Feb 27
2
[LLVMdev] 16-bit target problem
...ves to
// the full width of a register, since getCopyToParts and Legalize will use
// ANY_EXTEND rather than sign/zero.
// FIXME: C calling convention requires the return type to be promoted to
// at least 32-bit. But this is not necessary for non-C calling conventions.
if (MVT::isInteger(RetOp.getValueType()) &&
RetOp.getValueType() < MVT::i64) {
MVT::ValueType TmpVT;
if (TLI.getTypeAction(MVT::i32) == TargetLowering::Promote)
TmpVT = TLI.getTypeToTransformTo(MVT::i32);
else
TmpVT = MVT::i32;
This is wrong in at least two ways:
1....
2009 Feb 11
0
[LLVMdev] Bug in SelectionDAGBuild.cpp?
...if (VT.isInteger()) {
MVT MinVT = TLI.getRegisterType(MVT::i32);
if (VT.bitsLT(MinVT))
VT = MinVT;
}
This is occurring when VT is a 16bit vector type,<2x i8>. LLVM is then
changing it to be a 32bit type and
it asserts in :
getCopyToParts(DAG, SDValue(RetOp.getNode(), RetOp.getResNo() + j),
&Parts[0], NumParts, PartVT, ExtendKind);
Here:
assert(ValueVT.getVectorElementType() == PartVT &&
ValueVT.getVectorNumElements() == 1 &&
"Only trivial vector-to-scalar conversions...
2008 Feb 27
0
[LLVMdev] 16-bit target problem
...width of a register, since getCopyToParts and Legalize will use
> // ANY_EXTEND rather than sign/zero.
> // FIXME: C calling convention requires the return type to be promoted to
> // at least 32-bit. But this is not necessary for non-C calling conventions.
> if (MVT::isInteger(RetOp.getValueType()) &&
> RetOp.getValueType() < MVT::i64) {
> MVT::ValueType TmpVT;
> if (TLI.getTypeAction(MVT::i32) == TargetLowering::Promote)
> TmpVT = TLI.getTypeToTransformTo(MVT::i32);
> else
> TmpVT = MVT::i32;
>
>...