[llvm] [RISCV]Add support for resolving encoding conflicts among vendor specific CSRs (PR #96174)

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 1 05:23:47 PDT 2024


================
@@ -190,15 +191,18 @@ class SearchableTableEmitter {
   void emitGenericTable(const GenericTable &Table, raw_ostream &OS);
   void emitGenericEnum(const GenericEnum &Enum, raw_ostream &OS);
   void emitLookupDeclaration(const GenericTable &Table,
-                             const SearchIndex &Index, raw_ostream &OS);
+                             const SearchIndex &Index, bool ShouldReturnRange,
----------------
jrtc27 wrote:

At this point I believe all the callers of this and emitLookupFunction pass Index.ReturnRange for the parameter, so it's unneeded?

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


More information about the llvm-commits mailing list