[llvm] [TableGen] Generate partial mappings (PR #229314)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 6 23:02:46 PDT 2026


================

----------------
topperc wrote:

I think we can do something like.

```
return std::adjacent_find(Order, [](PartialMappingIdx LHS, PartialMappingIdx RHS) {
  return RHS != LHS + 1;
}) == Order.end();
```

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


More information about the llvm-commits mailing list