[llvm] [RISCV]Add support for resolving encoding conflicts among vendor specific CSRs (PR #96174)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 4 18:52:18 PDT 2024
================
@@ -538,12 +573,41 @@ void SearchableTableEmitter::emitGenericTable(const GenericTable &Table,
}
OS << " };\n";
+ // Emit Table for all those indices which will return a range instead of a
+ // single record
+ for (const auto &Index : Table.Indices) {
+ if (Index->ReturnRange) {
----------------
topperc wrote:
Invert the condition and use a `continue to reduce nesting
https://github.com/llvm/llvm-project/pull/96174
More information about the llvm-commits
mailing list