Matthias Springer 3e6f618e86
[llvm][ADT] Add getSingleElement helper (#131508)
This commit adds a new helper function: `getSingleElement`

This function asserts that the container has a single element and then
returns that element. This helper function is useful during 1:N dialect
conversions in MLIR, where certain `ValueRange`s (returned from the
adaptor) are known to have a single value.
2025-03-16 21:20:36 +01:00
..
2025-03-14 13:20:58 +01:00