[llvm] [TableGen] Sort matchables depending on predicates. (PR #84483)
Alfie Richards via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 8 10:18:02 PST 2024
AlfieRichardsArm wrote:
Yeah I agree the issue is probably actually the sort not being the same on the different builds. And youre right I think relying on the names is a bad idea.
> Can you compare two versions of ARMGenAsmMatcher.inc that cause different behavior?
I agree I think the real issue is why has this non-determinism creaped in that wasn't here previously. I will have a look at trying to compare these on Monday. It is quite frustrating to debug as it doesn't reliably repreoduce on my machine.
> Did you try `HasPositionOrder` of the Instruction `TableGen` class?
Ah I hadn't considered this. This would work well. I will abandon this patch and use that if the sort can't be figured out.
https://github.com/llvm/llvm-project/pull/84483
More information about the llvm-commits
mailing list