Skip to content

Commit

Permalink
Update to newer LLVM
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbell10 committed Mar 20, 2023
1 parent bbec2fe commit 7e195a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Conversion/TritonGPUToLLVM/ReduceOpToLLVM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ struct ReduceOpConversion
combineArgs[acc.size() + i] = cur[i];
}

rewriter.mergeBlockBefore(&newReduce, &*rewriter.getInsertionPoint(),
combineArgs);
rewriter.inlineBlockBefore(&newReduce, &*rewriter.getInsertionPoint(),
combineArgs);

auto results = returnOp.getResult();
for (unsigned i = 0; i < acc.size(); ++i) {
Expand Down

0 comments on commit 7e195a6

Please sign in to comment.