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-16 21:20:36 +01:00
2025-03-06 10:27:47 +01:00
2024-11-27 11:59:59 +00:00
2024-12-10 09:21:58 -08:00
2024-11-13 17:34:07 -08:00
2025-03-12 17:35:09 +01:00
2025-03-12 17:35:09 +01:00
2025-01-13 17:07:39 -08:00
2024-11-05 00:18:31 +08:00
2025-03-13 14:15:01 +11:00
2025-02-25 10:32:54 +00:00
2025-01-21 17:40:18 +09:00
2025-03-14 13:20:58 +01:00
2025-01-21 17:40:18 +09:00
2025-03-12 17:35:09 +01:00
2025-03-12 17:35:09 +01:00
2025-03-12 17:35:09 +01:00
2025-02-13 14:16:01 -08:00
2025-02-07 14:19:19 -08:00
2025-01-22 23:19:47 -08:00
2025-03-14 21:10:22 -07:00
2025-03-13 17:09:13 -07:00
2025-03-13 18:08:58 -04:00
2024-10-03 08:18:43 -07:00
2025-03-12 17:35:09 +01:00
2025-03-13 11:13:02 -07:00
2025-02-26 13:01:53 -05:00
2024-11-19 08:01:05 -08:00
2025-03-12 17:35:09 +01:00
2025-03-14 21:10:22 -07:00
2025-02-26 13:01:53 -05:00