File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
include/mlir/Dialect/GPU/Utils Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,8 @@ struct WarpDistributionPattern : OpRewritePattern<WarpExecuteOnLane0Op> {
2727protected:
2828 // / Return a value yielded by `warpOp` which statifies the filter lamdba
2929 // / condition and is not dead.
30- OpOperand *
31- getWarpResult (WarpExecuteOnLane0Op warpOp,
32- const llvm::function_ref<bool (Operation *)> fn) const ;
30+ OpOperand *getWarpResult (WarpExecuteOnLane0Op warpOp,
31+ llvm::function_ref<bool (Operation *)> fn) const ;
3332
3433 // / Helper to create a new WarpExecuteOnLane0Op with different signature.
3534 WarpExecuteOnLane0Op moveRegionToNewWarpOpAndReplaceReturns (
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ WarpDistributionPattern::moveRegionToNewWarpOpAndAppendReturns(
8383
8484OpOperand *WarpDistributionPattern::getWarpResult (
8585 WarpExecuteOnLane0Op warpOp,
86- const llvm::function_ref<bool (Operation *)> fn) const {
86+ llvm::function_ref<bool (Operation *)> fn) const {
8787 auto yield = cast<gpu::YieldOp>(
8888 warpOp.getBodyRegion ().getBlocks ().begin ()->getTerminator ());
8989 for (OpOperand &yieldOperand : yield->getOpOperands ()) {
You can’t perform that action at this time.
0 commit comments