Displaying 20 results from an estimated 25 matches for "visitinlineasm".
2009 Jul 08
4
[LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
Hello,
While I was trying to cross-compile 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 rep...
2010 Aug 25
2
[LLVMdev] [REQUEST FOR FEEDBACK] Inline asm multiple alternative constraints
...osing multiple
alternative constraints largely on the LLVM side.
The Clang change is to output the multiple constraints using a '|' character
in the constraint strings to delimit the alternatives.
The LLVM change is as follows.
In an earlier attempt, I just hacked up SelectionDAGBuilder::visitInlineAsm,
and pretty much used the same logic in
TargetLowering::ComputeConstraintToUse/ChooseConstraint. But then
I discovered that InlineAsm::ParseConstraints was called in a couple of
other places, and in one of those places (IsOperandAMemoryOperand in
AddrModeMatcher.cpp), there wasn't a DAG pointe...
2010 Aug 27
0
[LLVMdev] [REQUEST FOR FEEDBACK] Inline asm multiple alternative constraints
...put the multiple constraints using a '|'
> character in the constraint strings to delimit the alternatives.
This part is simple, and it can't be worse than it is now.
> The LLVM change is as follows.
>
> In an earlier attempt, I just hacked up
> SelectionDAGBuilder::visitInlineAsm, and pretty much used the same
> logic in TargetLowering::ComputeConstraintToUse/ChooseConstraint.
> But then I discovered that InlineAsm::ParseConstraints was called in
> a couple of other places, and in one of those places
> (IsOperandAMemoryOperand in AddrModeMatcher.cpp), t...
2010 Aug 30
2
[LLVMdev] [REQUEST FOR FEEDBACK] Inline asm multiple alternative constraints
...9;|'
>> character in the constraint strings to delimit the alternatives.
>>
>
> This part is simple, and it can't be worse than it is now.
>
>
> The LLVM change is as follows.
>>
>> In an earlier attempt, I just hacked up
>> SelectionDAGBuilder::visitInlineAsm, and pretty much used the same logic in
>> TargetLowering::ComputeConstraintToUse/ChooseConstraint. But then I
>> discovered that InlineAsm::ParseConstraints was called in a couple of other
>> places, and in one of those places (IsOperandAMemoryOperand in
>> AddrModeMatcher...
2010 Aug 30
0
[LLVMdev] [REQUEST FOR FEEDBACK] Inline asm multiple alternative constraints
...onstraints using a '|'
> character in the constraint strings to delimit the alternatives.
>
> This part is simple, and it can't be worse than it is now.
>
>
> The LLVM change is as follows.
>
> In an earlier attempt, I just hacked up
> SelectionDAGBuilder::visitInlineAsm, and pretty much used the same
> logic in TargetLowering::ComputeConstraintToUse/ChooseConstraint.
> But then I discovered that InlineAsm::ParseConstraints was called in
> a couple of other places, and in one of those places
> (IsOperandAMemoryOperand in AddrModeMatcher.cpp), t...
2010 Aug 30
2
[LLVMdev] [REQUEST FOR FEEDBACK] Inline asm multiple alternative constraints
...constraint strings to delimit the alternatives.
>>>
>>
>> This part is simple, and it can't be worse than it is now.
>>
>>
>> The LLVM change is as follows.
>>>
>>> In an earlier attempt, I just hacked up
>>> SelectionDAGBuilder::visitInlineAsm, and pretty much used the same logic in
>>> TargetLowering::ComputeConstraintToUse/ChooseConstraint. But then I
>>> discovered that InlineAsm::ParseConstraints was called in a couple of other
>>> places, and in one of those places (IsOperandAMemoryOperand in
>>>...
2009 Jul 08
2
[LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
...gt; Hello,
>
> While I was trying to cross-compile 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
> Pleas...
2009 Jul 08
0
[LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
...Hello,
>
> While I was trying to cross-compile 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
>...
2010 Sep 01
2
[LLVMdev] [REQUEST FOR FEEDBACK] Inline asm multiple alternative constraints
...ternatives.
>>>>
>>>
>>> This part is simple, and it can't be worse than it is now.
>>>
>>>
>>> The LLVM change is as follows.
>>>>
>>>> In an earlier attempt, I just hacked up
>>>> SelectionDAGBuilder::visitInlineAsm, and pretty much used the same logic in
>>>> TargetLowering::ComputeConstraintToUse/ChooseConstraint. But then I
>>>> discovered that InlineAsm::ParseConstraints was called in a couple of other
>>>> places, and in one of those places (IsOperandAMemoryOperand in...
2010 Aug 30
0
[LLVMdev] [REQUEST FOR FEEDBACK] Inline asm multiple alternative constraints
...;> character in the constraint strings to delimit the alternatives.
>>
>> This part is simple, and it can't be worse than it is now.
>>
>>
>> The LLVM change is as follows.
>>
>> In an earlier attempt, I just hacked up
>> SelectionDAGBuilder::visitInlineAsm, and pretty much used the same
>> logic in TargetLowering::ComputeConstraintToUse/ChooseConstraint.
>> But then I discovered that InlineAsm::ParseConstraints was called
>> in a couple of other places, and in one of those places
>> (IsOperandAMemoryOperand in AddrMod...
2010 Sep 02
2
[LLVMdev] [REQUEST FOR FEEDBACK] Inline asm multiple alternative constraints
...;>>>
>>>> This part is simple, and it can't be worse than it is now.
>>>>
>>>>
>>>> The LLVM change is as follows.
>>>>>
>>>>> In an earlier attempt, I just hacked up
>>>>> SelectionDAGBuilder::visitInlineAsm, and pretty much used the same logic in
>>>>> TargetLowering::ComputeConstraintToUse/ChooseConstraint. But then I
>>>>> discovered that InlineAsm::ParseConstraints was called in a couple of other
>>>>> places, and in one of those places (IsOperandAMemor...
2008 May 20
2
[LLVMdev] [ia64] Assertion failed: (!OpInfo.AssignedRegs.Regs.empty() && "Couldn't allocate input reg!")
...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,
InputRegs);
Assuming the correct fix is to enhance
llvm::TargetLowering::getRegForInlineAsmConstraint(), can someone give
me
some pointers as to how to fix it? I...
2010 Sep 02
0
[LLVMdev] [REQUEST FOR FEEDBACK] Inline asm multiple alternative constraints
...t strings to delimit the alternatives.
>>>
>>> This part is simple, and it can't be worse than it is now.
>>>
>>>
>>> The LLVM change is as follows.
>>>
>>> In an earlier attempt, I just hacked up
>>> SelectionDAGBuilder::visitInlineAsm, and pretty much used the same
>>> logic in TargetLowering::ComputeConstraintToUse/ChooseConstraint.
>>> But then I discovered that InlineAsm::ParseConstraints was called
>>> in a couple of other places, and in one of those places
>>> (IsOperandAMemoryOp...
2010 Sep 02
0
[LLVMdev] [REQUEST FOR FEEDBACK] Inline asm multiple alternative constraints
...tives.
>>>>
>>>> This part is simple, and it can't be worse than it is now.
>>>>
>>>>
>>>> The LLVM change is as follows.
>>>>
>>>> In an earlier attempt, I just hacked up
>>>> SelectionDAGBuilder::visitInlineAsm, and pretty much used the
>>>> same logic in TargetLowering::ComputeConstraintToUse/
>>>> ChooseConstraint. But then I discovered that
>>>> InlineAsm::ParseConstraints was called in a couple of other
>>>> places, and in one of those places (Is...
2009 Jul 08
0
[LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
...was trying to cross-compile 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...
2010 Aug 13
1
[LLVMdev] inline asm constraints in LLVM
Dale,
I've looked a bit at ChooseConstraintTuple in llvm-gcc, as well as the code
generator in Clang and the inline asm handling in LLVM (ala visitInlineAsm).
While I see how Clang could do it to some extent by looking at the
expression types of the operands, it seems that LLVM would be in a better
position for choosing multiple alternative constraints as it would know what
all the operands are, and where they currently are, particularly if part of
an...
2008 May 20
0
[LLVMdev] [ia64] Assertion failed: (!OpInfo.AssignedRegs.Regs.empty() && "Couldn't allocate input reg!")
...::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 the root case of the assert.
It seems that llvm::TargetLowering::getRegForInlineAsmConstraint()
is supposed to work on a single (physical) register.
In GetRegistersForValue() is the fol...
2009 Jul 09
1
[LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
...ile I was trying to cross-compile 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: Abor...
2008 Jan 10
0
[LLVMdev] LLVM Build Problems on Itanium
...pes -Wmissing-prototypes -Wold-style-definition -isystem
./include -fPIC -DUSE_GAS_SYMVER -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -c -o crtfastmath.o \
../../llvm-gcc4.2-2.1.source/gcc/config/ia64/crtfastmath.c
cc1: SelectionDAGISel.cpp:3695: void
llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallInst&): Assertion
`!OpInfo.AssignedRegs.Regs.empty() && "Couldn't allocate input reg!"'
failed.
../../llvm-gcc4.2-2.1.source/gcc/config/ia64/crtfastmath.c:37: internal
compiler error: Aborted
Please submit a full bug report,
with preprocessed source if app...
2008 Jan 10
2
[LLVMdev] LLVM Build Problems on Itanium
On Jan 10, 2008, at 10:29 AM, Thomas Jablin wrote:
> Hi,
>
> I've figured out a little more. #if defined DBX_DEBUGGING_INFO ||
> XCOFF_DEBUGGING_INFO guards the declaration of type_queue, however,
> neither is defined on Intanium. In gt-dbxout.h type_queue's uses are
> unguarded and thus are undefined on Itanium. When I compared llvm-
> gcc's
> gt-dbxout.h