[llvm] [TableGen] Add support for emitting new function definition to return a range of results for Primary Key (PR #96174)

Garvit Gupta via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 10 23:16:32 PDT 2024


================
@@ -793,7 +828,8 @@ void SearchableTableEmitter::run(raw_ostream &OS) {
     Table.Indices.push_back(
         parseSearchIndex(Table, IndexRec->getValue("Key"), IndexRec->getName(),
                          IndexRec->getValueAsListOfStrings("Key"),
-                         IndexRec->getValueAsBit("EarlyOut")));
+                         IndexRec->getValueAsBit("EarlyOut"),
+                         IndexRec->getValueAsBit("ReturnRange")));
----------------
quic-garvgupt wrote:

I do not have commit access yet, if changes are good, can you merge this PR and PR#97287 on my behalf?

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


More information about the llvm-commits mailing list