[llvm-branch-commits] [llvm] [AMDGPU] Make custom AsmParser matchers alignment aware (PR #221988)

Valery Pykhtin via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Sep 8 06:59:53 PDT 2026


================
@@ -66,13 +66,24 @@ enum RegisterKind {
 // Operand
 //===----------------------------------------------------------------------===//
 
+// Why an operand predicate rejected an operand; higher values are more specific
+// and win the tiebreak in matchAndEmitInstruction. Keep None first.
+enum class OperandMatchError {
----------------
vpykhtin wrote:

Given the amount of code added I agree, not sure how valuable the diagnostic is.

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


More information about the llvm-branch-commits mailing list