From 02af8c22df523d7cda4399058e0a0945d54f4972 Mon Sep 17 00:00:00 2001 From: Uday Bondhugula Date: Tue, 5 Mar 2019 15:05:34 -0800 Subject: 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 --- mlir/lib/Transforms/LoopTiling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mlir/lib/Transforms/LoopTiling.cpp') 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, 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 -- cgit v1.2.3