@@ -216,8 +216,8 @@ void splitCondBranches(IRRewriter &rewriter, FunctionOpInterface function) {
216216 for (auto condBranch : worklist) {
217217 auto loc = condBranch.getLoc ();
218218 Block *block = condBranch->getBlock ();
219- auto newTrueBranch = rewriter.splitBlock (block, block->end ());
220- auto newFalseBranch = rewriter.splitBlock (block, block->end ());
219+ auto * newTrueBranch = rewriter.splitBlock (block, block->end ());
220+ auto * newFalseBranch = rewriter.splitBlock (block, block->end ());
221221 insertJump (loc, newTrueBranch, condBranch.getTrueDest (),
222222 condBranch.getTrueDestOperands ());
223223 insertJump (loc, newFalseBranch, condBranch.getFalseDest (),
@@ -382,7 +382,7 @@ gatherTileLiveRanges(DenseMap<Operation *, unsigned> const &operationToIndexMap,
382382 // Find or create a live range for `value`.
383383 auto [it, _] = liveRanges.try_emplace (value, liveRangeAllocator);
384384 LiveRange &valueLiveRange = it->second ;
385- auto lastUseInBlock = livenessInfo.getEndOperation (value, firstUseOrDef);
385+ auto * lastUseInBlock = livenessInfo.getEndOperation (value, firstUseOrDef);
386386 // Add the interval [firstUseOrDef, lastUseInBlock) to the live range.
387387 unsigned startOpIdx =
388388 operationToIndexMap.at (firstUseOrDef) + (liveAtBlockEntry ? -1 : 0 );
0 commit comments