diff options
| author | River Riddle <riverriddle@google.com> | 2019-10-17 20:08:01 -0700 |
|---|---|---|
| committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-10-17 20:08:34 -0700 |
| commit | 2acc220f17bacbf933d024a68385a909b44352fd (patch) | |
| tree | cf0aaf3ce4fc11e68185abd6331fa2bc5e31a596 /mlir/lib/Analysis | |
| parent | 575405f4d6762830c1c4520569de4e4ed3c8eed5 (diff) | |
| download | bcm5719-llvm-2acc220f17bacbf933d024a68385a909b44352fd.tar.gz bcm5719-llvm-2acc220f17bacbf933d024a68385a909b44352fd.zip | |
NFC: Remove trivial builder get methods.
These don't add any value, and some are even more restrictive than the respective static 'get' method.
PiperOrigin-RevId: 275391240
Diffstat (limited to 'mlir/lib/Analysis')
| -rw-r--r-- | mlir/lib/Analysis/LoopAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Analysis/LoopAnalysis.cpp b/mlir/lib/Analysis/LoopAnalysis.cpp index b1895d308ad..55a0ac6df84 100644 --- a/mlir/lib/Analysis/LoopAnalysis.cpp +++ b/mlir/lib/Analysis/LoopAnalysis.cpp @@ -77,7 +77,7 @@ void mlir::buildTripCountMapAndOperands( SmallVector<AffineExpr, 4> lbSplatExpr(ubValueMap.getNumResults(), lbMap.getResult(0)); auto lbMapSplat = - b.getAffineMap(lbMap.getNumDims(), lbMap.getNumSymbols(), lbSplatExpr); + AffineMap::get(lbMap.getNumDims(), lbMap.getNumSymbols(), lbSplatExpr); AffineValueMap lbSplatValueMap(lbMapSplat, lbOperands); AffineValueMap tripCountValueMap; |

