Skip to content

Commit

Permalink
[BACKEND] Update LLVM version to llvm/llvm-project@36adf8e (#4725)
Browse files Browse the repository at this point in the history
llvm/llvm-project@36adf8e

Co-authored-by: Lei Zhang <[email protected]>
  • Loading branch information
chsigg and antiagainst authored Sep 14, 2024
1 parent 1f5dc71 commit c99c214
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmake/llvm-hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7ba6768df8181bc270763333969d4a1d6cc2e160
36adf8ecedb64047021265a1e1730773d3b3a9e8
4 changes: 2 additions & 2 deletions include/triton/Analysis/AxisInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ class ModuleAxisInfoAnalysis : public CallGraph<AxisInfoMapT> {
for (auto funcOp : llvm::reverse(sortedFuncs)) {
initialize(funcOp);
funcOp.walk([&](CallOpInterface callOp) {
auto callee =
dyn_cast<FunctionOpInterface>(callOp.resolveCallable(&symbolTable));
auto callee = dyn_cast<FunctionOpInterface>(
callOp.resolveCallableInTable(&symbolTable));
update(callOp, callee);
});
}
Expand Down
2 changes: 1 addition & 1 deletion include/triton/Analysis/Utility.h
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ template <typename T> class CallGraph {
moduleOp.walk([&](Operation *op) {
auto caller = op->getParentOfType<FunctionOpInterface>();
if (auto callOp = dyn_cast<CallOpInterface>(op)) {
auto *callee = callOp.resolveCallable(&symbolTable);
auto *callee = callOp.resolveCallableInTable(&symbolTable);
auto funcOp = dyn_cast_or_null<FunctionOpInterface>(callee);
if (funcOp) {
graph[caller].emplace_back(
Expand Down

0 comments on commit c99c214

Please sign in to comment.