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

Lang Hames lhames at gmail.com
Fri Oct 19 16:58:41 PDT 2012


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121019/d2c9f804/attachment.html>


More information about the llvm-commits mailing list