Displaying 3 results from an estimated 3 matches for "chooseconstrainttuple".
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 cons...
2010 Jul 29
0
[LLVMdev] inline asm constraints in LLVM
The LLVM asm parser doesn't support multiple alternative constraints;
you need to have Clang pick one tuple in the front end. See
ChooseConstraintTuple in llvm-gcc for prior art.
On Jul 29, 2010, at 11:36 AMPDT, John Thompson wrote:
> I'm trying to fix the handling of multiple alternate constraints in
> Clang (see http://gcc.gnu.org/onlinedocs/gcc/Multi_002dAlternative.html#Multi_002dAlternative)
> .
>
> How should the cons...
2010 Jul 29
3
[LLVMdev] inline asm constraints in LLVM
I'm trying to fix the handling of multiple alternate constraints in Clang
(see
http://gcc.gnu.org/onlinedocs/gcc/Multi_002dAlternative.html#Multi_002dAlternative
).
How should the constraints be represented in the .ll file?
Clang currently will assert because the code generator sees a constraints
string with the wrong number of comma-separated items.
Basically, after some editing, it just