diff options
author | Matthias Springer <me@m-sp.org> | 2025-03-17 07:43:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-17 07:43:18 +0100 |
commit | 6c867e27a7b597910571677abdef77b703a5a601 (patch) | |
tree | 84f433b91d16caf9084e597afe9d8470b5ffe74e /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | f402953339fa5b1c206cb5d6ac3d9b15b1e81509 (diff) | |
download | llvm-6c867e27a7b597910571677abdef77b703a5a601.zip llvm-6c867e27a7b597910571677abdef77b703a5a601.tar.gz llvm-6c867e27a7b597910571677abdef77b703a5a601.tar.bz2 |
[mlir] Use `getSingleElement`/`hasSingleElement` in various places (#131460)
This is a code cleanup. Update a few places in MLIR that should use
`hasSingleElement`/`getSingleElement`.
Note: `hasSingleElement` is faster than `.getSize() == 1` when it is
used with linked lists etc.
Depends on #131508.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions