diff options
| author | Kazu Hirata <kazu@google.com> | 2022-09-18 17:46:53 -0700 |
|---|---|---|
| committer | Kazu Hirata <kazu@google.com> | 2022-09-18 17:46:53 -0700 |
| commit | be650de57d8c5ab6a74a59ebf7bc67ba5d5d598d (patch) | |
| tree | 43764dc0a1aeba5cec497d3c257a16fb3b9d2add /mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp | |
| parent | e5581df60a35fffb0c69589777e4e126c849405f (diff) | |
[mlir] Use empty (NFC)
Diffstat (limited to 'mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp')
| -rw-r--r-- | mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp b/mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp index 707a35044980..7a847c71f36e 100644 --- a/mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp +++ b/mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp @@ -66,7 +66,7 @@ static void getXferIndices(OpBuilder &b, TransferOpType xferOp, // Return true if the contract op can be convert to MMA matmul. static bool contractSupportsMMAMatrixType(vector::ContractionOp contract, bool useNvGpu) { - if (llvm::size(contract.getMasks()) != 0) + if (!contract.getMasks().empty()) return false; using MapList = ArrayRef<ArrayRef<AffineExpr>>; |
