Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LLVM Bump #7595

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/Conversion/CFToHandshake/CFToHandshake.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ static Value getOperandFromBlock(MuxOp mux, Block *block) {
return block == operand.getParentBlock();
});
assert(
inValueIt != mux.getOperands().end() &&
inValueIt != mux.getDataOperands().end() &&
"Expected mux to have an operand originating from the requested block.");
return *inValueIt;
}
Expand Down
8 changes: 4 additions & 4 deletions lib/Dialect/Arc/Transforms/Dedup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,8 @@ void DedupPass::runOnOperation() {

// Collect the arc call sites.
getOperation().walk([&](mlir::CallOpInterface callOp) {
if (auto defOp =
dyn_cast_or_null<DefineOp>(callOp.resolveCallable(&symbolTable)))
if (auto defOp = dyn_cast_or_null<DefineOp>(
callOp.resolveCallableInTable(&symbolTable)))
callSites[defOp].insert(callOp);
});

Expand Down Expand Up @@ -732,8 +732,8 @@ void DedupPass::replaceArcWith(DefineOp oldArc, DefineOp newArc,
}

oldArc.walk([&](mlir::CallOpInterface callOp) {
if (auto defOp =
dyn_cast_or_null<DefineOp>(callOp.resolveCallable(&symbolTable)))
if (auto defOp = dyn_cast_or_null<DefineOp>(
callOp.resolveCallableInTable(&symbolTable)))
callSites[defOp].remove(callOp);
});
callSites.erase(oldArc);
Expand Down
2 changes: 1 addition & 1 deletion lib/Dialect/Arc/Transforms/InferStateProperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ void InferStatePropertiesPass::runOnOperation() {
getOperation()->walk([&](arc::StateOp stateOp) {
auto arc =
cast<arc::DefineOp>(cast<mlir::CallOpInterface>(stateOp.getOperation())
.resolveCallable(&symbolTable));
.resolveCallableInTable(&symbolTable));
runOnStateOp(stateOp, arc, resetConditionMap);
});
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Dialect/Arc/Transforms/LegalizeStateUpdate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ LogicalResult AccessAnalysis::analyze(Operation *op) {

// Track the relationship between callers and callees.
if (auto callOp = dyn_cast<CallOpInterface>(opNode.op))
if (auto *calleeOp = callOp.resolveCallable(&symbolTable))
if (auto *calleeOp = callOp.resolveCallableInTable(&symbolTable))
get(calleeOp).callers.insert(&opNode);

// Create the seed accesses.
Expand Down
2 changes: 1 addition & 1 deletion llvm
Submodule llvm updated 2213 files
Loading