[Mlir-commits] [mlir] c180d0c - [mlir] Use llvm::any_of (NFC) (#141317)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri May 23 23:59:53 PDT 2025
Author: Kazu Hirata
Date: 2025-05-23T23:59:48-07:00
New Revision: c180d0cfad58232e08b4ee7b23f6a29224ae4e12
URL: https://github.com/llvm/llvm-project/commit/c180d0cfad58232e08b4ee7b23f6a29224ae4e12
DIFF: https://github.com/llvm/llvm-project/commit/c180d0cfad58232e08b4ee7b23f6a29224ae4e12.diff
LOG: [mlir] Use llvm::any_of (NFC) (#141317)
Added:
Modified:
mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp
Removed:
################################################################################
diff --git a/mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp b/mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp
index ccba2e2806862..f4f32e9339870 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,
More information about the Mlir-commits
mailing list