[llvm] [TableGen][AMDGPU][AsmParser] Catch and fix ambiguous instructions (PR #211093)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 02:01:15 PDT 2026


jayfoad wrote:

> Declares mutually exclusive assembler predicates and teaches TableGen to use that knowledge to report matchables that are indistinguishable to the asm parser.

Can you explain this a bit more? How does knowing that two predicates are mutually exclusive allow detection of matchables that are indistinguishable to the asm parser? Can you give a simple example?

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


More information about the llvm-commits mailing list