[llvm] [RISCV]Add support for resolving encoding conflicts among vendor specific CSRs (PR #96174)
Garvit Gupta via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 2 02:56:24 PDT 2024
================
@@ -510,7 +538,8 @@ void SearchableTableEmitter::emitGenericTable(const GenericTable &Table,
// Emit the declarations for the functions that will perform lookup.
if (Table.PrimaryKey) {
- emitLookupDeclaration(Table, *Table.PrimaryKey, OS);
+ auto &Index = Table.PrimaryKey;
----------------
quic-garvgupt wrote:
This was needed before when an additional argument `ShouldReturnRange` was being passed to emitLookupFunction. But since, it was not needed anymore, we can remove this extra assignment statement as well. I have pushed a new patchset fixing the same
https://github.com/llvm/llvm-project/pull/96174
More information about the llvm-commits
mailing list