diff options
| author | Kazu Hirata <kazu@google.com> | 2025-05-23 23:59:48 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-23 23:59:48 -0700 |
| commit | c180d0cfad58232e08b4ee7b23f6a29224ae4e12 (patch) | |
| tree | 957c383c60b0869e16eb8793a0e6dc6d6e9f4f4b /mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp | |
| parent | 407df069ec1143bcfc6b6d34502d6e60ebcafa4f (diff) | |
[mlir] Use llvm::any_of (NFC) (#141317)
Diffstat (limited to 'mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp')
| -rw-r--r-- | mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp b/mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp index ccba2e280686..f4f32e933987 100644 --- a/mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp +++ b/mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp @@ -887,11 +887,10 @@ isNotLinearizableBecauseLargeInnerDimension(Operation *op, // Check on bitwidths. SmallVector<std::pair<Type, unsigned>> toCheck = getTypeBitWidthBoundPairs(op, targetBitWidth); - return std::any_of(toCheck.begin(), toCheck.end(), - [&](std::pair<Type, unsigned> typeWidth) { - return isNotLinearizableBecauseLargeInnerDimension( - typeWidth.first, typeWidth.second); - }); + return llvm::any_of(toCheck, [&](std::pair<Type, unsigned> typeWidth) { + return isNotLinearizableBecauseLargeInnerDimension(typeWidth.first, + typeWidth.second); + }); } void populateWithBitWidthConstraints(TypeConverter &typeConverter, |
