[llvm] [DecoderEmitter] Support for DecodeOrder and `resolve-conflicts-try-all` (PR #157948)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 15 19:30:13 PDT 2025
================
@@ -1598,6 +1726,19 @@ void FilterChooser::doFilter() {
return;
}
+ // If we were unable to find a useful filter and there are multiple decode
+ // orders involved, split the candidates by decode order and create per decode
+ // order choosers.
+ if (hasMultipleDecodeOrders()) {
----------------
s-barannikov wrote:
I think you're looking at the issue from the wrong side. The problem is not that we bail after `Decode` fails. `Decode` means we know that *there are no other encodings that could match*, but we emit it even if there *are* other encodings that could match. This is a bug mandated by VariableFC.
https://github.com/llvm/llvm-project/pull/157948
More information about the llvm-commits
mailing list