diff options
| author | Uday Bondhugula <bondhugula@google.com> | 2019-03-05 15:05:34 -0800 |
|---|---|---|
| committer | jpienaar <jpienaar@google.com> | 2019-03-29 16:58:35 -0700 |
| commit | 02af8c22df523d7cda4399058e0a0945d54f4972 (patch) | |
| tree | b49de902095777a37a8f109f3506147190134fc3 /mlir/lib/Transforms/LoopTiling.cpp | |
| parent | 73e0297d36452555cb9552827c498c8bde1a5f74 (diff) | |
| download | bcm5719-llvm-02af8c22df523d7cda4399058e0a0945d54f4972.tar.gz bcm5719-llvm-02af8c22df523d7cda4399058e0a0945d54f4972.zip | |
Change Pass:getFunction() to return pointer instead of ref - NFC
- change this for consistency - everything else similar takes/returns a
Function pointer - the FuncBuilder ctor,
Block/Value/Instruction::getFunction(), etc.
- saves a whole bunch of &s everywhere
PiperOrigin-RevId: 236928761
Diffstat (limited to 'mlir/lib/Transforms/LoopTiling.cpp')
| -rw-r--r-- | mlir/lib/Transforms/LoopTiling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Transforms/LoopTiling.cpp b/mlir/lib/Transforms/LoopTiling.cpp index 4aebbc2e856..e58de3bc136 100644 --- a/mlir/lib/Transforms/LoopTiling.cpp +++ b/mlir/lib/Transforms/LoopTiling.cpp @@ -255,7 +255,7 @@ getTileableBands(Function *f, void LoopTiling::runOnFunction() { std::vector<SmallVector<OpPointer<AffineForOp>, 6>> bands; - getTileableBands(&getFunction(), &bands); + getTileableBands(getFunction(), &bands); for (auto &band : bands) { // Set up tile sizes; fill missing tile sizes at the end with default tile |

