[PATCH] D40011: [TableGen] AsmMatcher: Fix bug with reported diagnostic for operand.

Oliver Stannard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 21 03:32:40 PST 2017


olista01 added a comment.

It's a shame that we have to fall back the the general "invalid operand for instruction" in all of these cases, but I don't see any easy fix for that, and it's obviously better than emitting the wrong diagnostic.

Hopefully porting the multiple-near-misses diagnostics to AArch64 will allow us to improve the diagnostics in cases like this in the future.

LGTM


https://reviews.llvm.org/D40011





More information about the llvm-commits mailing list