Displaying 8 results from an estimated 8 matches for "c_registerclass".
2009 Jul 08
4
[LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
...Linux OMAP kernel with llvm, I have the
following error message.
CC arch/arm/kernel/traps.o
cc1:
/home/wonjeon/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp:5388: void
llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallSite): Assertion
`(OpInfo.ConstraintType == TargetLowering::C_RegisterClass ||
OpInfo.ConstraintType == TargetLowering::C_Register) && "Unknown constraint
type!"' failed.
arch/arm/kernel/traps.c:748: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs/&...
2008 May 20
2
[LLVMdev] [ia64] Assertion failed: (!OpInfo.AssignedRegs.Regs.empty() && "Couldn't allocate input reg!")
...try:
tail call void asm sideeffect "mov.m ar.fpsr=$0", "r"( i64
2709527404217215 ) nounwind
ret void
}
\end{ll}
(See gcc/config/ia64/crtfastmath.c)
In llvm::TargetLowering::getRegForInlineAsmConstraint(), the "r"
constraint
(i.e. TargetLowering::C_RegisterClass) isn't handled and the function
returns
<pair>(0, NULL). However, it is explicitly called for that constraint by
llvm::SelectionDAGLowering::visitInlineAsm():
if (OpInfo.ConstraintType == TargetLowering::C_RegisterClass)
GetRegistersForValue(OpInfo, SawEarlyClobber, OutputRegs,...
2009 Jul 08
2
[LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
...ave the
> following error message.
>
> CC arch/arm/kernel/traps.o
> cc1:
> /home/wonjeon/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp:5388: void
> llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallSite): Assertion
> `(OpInfo.ConstraintType == TargetLowering::C_RegisterClass ||
> OpInfo.ConstraintType == TargetLowering::C_Register) && "Unknown constraint
> type!"' failed.
> arch/arm/kernel/traps.c:748: internal compiler error: Aborted
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <...
2009 Jul 08
0
[LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
...ave the following error message.
>
> CC arch/arm/kernel/traps.o
> cc1: /home/wonjeon/llvm/lib/CodeGen/SelectionDAG/
> SelectionDAGBuild.cpp:5388: void
> llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallSite):
> Assertion `(OpInfo.ConstraintType == TargetLowering::C_RegisterClass
> || OpInfo.ConstraintType == TargetLowering::C_Register) && "Unknown
> constraint type!"' failed.
> arch/arm/kernel/traps.c:748: internal compiler error: Aborted
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See...
2009 Jul 08
0
[LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
...t;>
>> CC arch/arm/kernel/traps.o
>> cc1: /home/wonjeon/llvm/lib/CodeGen/SelectionDAG/
>> SelectionDAGBuild.cpp:5388: void
>> llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallSite):
>> Assertion `(OpInfo.ConstraintType ==
>> TargetLowering::C_RegisterClass || OpInfo.ConstraintType ==
>> TargetLowering::C_Register) && "Unknown constraint type!"' failed.
>> arch/arm/kernel/traps.c:748: internal compiler error: Aborted
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
&g...
2008 May 20
0
[LLVMdev] [ia64] Assertion failed: (!OpInfo.AssignedRegs.Regs.empty() && "Couldn't allocate input reg!")
..."mov.m ar.fpsr=$0", "r"( i64
> 2709527404217215 ) nounwind
> ret void
> }
> \end{ll}
>
> (See gcc/config/ia64/crtfastmath.c)
>
> In llvm::TargetLowering::getRegForInlineAsmConstraint(), the "r"
> constraint
> (i.e. TargetLowering::C_RegisterClass) isn't handled and the function
> returns
> <pair>(0, NULL). However, it is explicitly called for that
> constraint by
> llvm::SelectionDAGLowering::visitInlineAsm():
It's llvm::TargetLowering::getRegClassForInlineAsmConstraint() that
returns an empty vector and thus is...
2009 Jul 09
1
[LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
...rror message.
>>
>> CC arch/arm/kernel/traps.o
>> cc1:
>> /home/wonjeon/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp:5388: void
>> llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallSite): Assertion
>> `(OpInfo.ConstraintType == TargetLowering::C_RegisterClass ||
>> OpInfo.ConstraintType == TargetLowering::C_Register) && "Unknown constraint
>> type!"' failed.
>> arch/arm/kernel/traps.c:748: internal compiler error: Aborted
>> Please submit a full bug report,
>> with preprocessed source if appropri...
2013 Feb 28
0
[LLVMdev] [cfe-dev] [MIPS] How can I add a constraint to LLVM/Clang for MIPS BE?
...lib/Target/Mips/MipsISelLowering.cpp
index 36e1a15..4a5d045 100644
--- a/lib/Target/Mips/MipsISelLowering.cpp
+++ b/lib/Target/Mips/MipsISelLowering.cpp
@@ -3880,6 +3880,8 @@ getConstraintType(const std::string &Constraint) const
case 'l':
case 'x':
return C_RegisterClass;
+ case 'R':
+ return C_Memory;
}
}
return TargetLowering::getConstraintType(Constraint);
@@ -3928,6 +3930,9 @@ MipsTargetLowering::getSingleConstraintMatchWeight(
if (isa<ConstantInt>(CallOperandVal))
weight = CW_Constant;
break;
+ case 'R...