[llvm] [TableGen] Use INSTRUCTION_LIST_END as a sentinel in InstrMapping tables (PR #182059)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 18 09:27:39 PST 2026


================
@@ -381,7 +381,7 @@ unsigned MapTableEmitter::emitBinSearchTable(raw_ostream &OS) {
         OutStr += ", ";
         OutStr += ColInstr->getName();
       } else {
-        OutStr += ", (uint32_t)-1U";
+        OutStr += ", INSTRUCTION_LIST_END";
       }
----------------
jayfoad wrote:

> the multi-column map-function fallback in emitMapFuncBody still returns (uint32_t)-1U when no column matches.

That code will be removed by #182052.

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


More information about the llvm-commits mailing list