[llvm] [TableGen] Sort matchables depending on predicates. (PR #84483)

Ivan Kosarev via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 8 09:51:44 PST 2024


kosarev wrote:

I think adding (another) by-name ordering for matchables is not a good idea. Renaming things should not cause functional changes. I would rather welcome introducing proper means of communicating the intention/expectation of some matchables to be tried before others instead of complicating the situation further by employing ad-hoc workarounds.

Did you try `HasPositionOrder` of the `Instruction` TableGen class?

https://github.com/llvm/llvm-project/pull/84483


More information about the llvm-commits mailing list