[PATCH] D47714: [TableGen][AsmMatcherEmitter] Allow tied operands of different classes in aliases.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 14 14:37:09 PDT 2018


fhahn added a comment.

To provide a bit more info here, this patch helps to use tied operands to handle instruction like SVE's sqinc (https://reviews.llvm.org/D47716)

  sqinc x0, w0, all, mul #4
         ^___^ (must match)

Although I am not entirely sure if that is the best way, I could not think of a better approach right now and it should do the trick. It would be great to hear some additional thoughts. In any case, I think it would be great to document this behavior somewhere, otherwise it will be hard for other people to find and use.


https://reviews.llvm.org/D47714





More information about the llvm-commits mailing list