[all-commits] [llvm/llvm-project] 2eaadf: [NFC] Use llvm::hasSingleElement() in place of .si...
Rahul Joshi via All-commits
all-commits at lists.llvm.org
Wed Jun 17 13:27:08 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2eaadfc4fe662e1ba312929cd650ed349fe7f2b4
https://github.com/llvm/llvm-project/commit/2eaadfc4fe662e1ba312929cd650ed349fe7f2b4
Author: Rahul Joshi <jurahul at google.com>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
M mlir/lib/Dialect/Linalg/EDSC/Builders.cpp
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
M mlir/lib/Transforms/LoopFusion.cpp
M mlir/lib/Transforms/MemRefDataFlowOpt.cpp
M mlir/lib/Transforms/ViewOpGraph.cpp
M mlir/test/lib/Dialect/Affine/TestVectorizationUtils.cpp
Log Message:
-----------
[NFC] Use llvm::hasSingleElement() in place of .size() == 1
- Also use functions in Region instead of Region::getBlocks() where possible.
Differential Revision: https://reviews.llvm.org/D82032
More information about the All-commits
mailing list