[Mlir-commits] [llvm] [mlir] [llvm] Add `getSingleElement` helper and use in MLIR (PR #131460)

Jakub Kuderski llvmlistbot at llvm.org
Sat Mar 15 20:21:45 PDT 2025


kuhar wrote:

Shower thought: we could also have `auto &[first, second, third] = getNElements<3>(range);`, although I'm not sure how often this comes up. (Not suggesting any changes to this PR, just an idea)

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


More information about the Mlir-commits mailing list