[llvm-commits] [PATCH] Allow reversed operand order in Tablegen tied-operand constraints.

David Blaikie dblaikie at gmail.com
Fri Oct 19 17:11:26 PDT 2012


ENOPATCH

On Fri, Oct 19, 2012 at 4:58 PM, Lang Hames <lhames at gmail.com> wrote:
> When specifying tied operand constraints ("$src = $dst") in tablegen the
> order of the operands currently matters. If the operands are specified in
> reverse order ("$dst = $src") tablegen barfs with an opaque "Illegal format
> for tied-to constraint" error.
>
> Does anyone know if there's any reason to prohibit the commuted form? If
> there's not I'll apply this patch, which will allow the commuted form to be
> parsed.
>
> - Lang.
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>



More information about the llvm-commits mailing list