Skip to content

Commit

Permalink
Don't print on parallel task entry/exit with -debug flag
Browse files Browse the repository at this point in the history
Fixes #8184
  • Loading branch information
abadams committed Apr 9, 2024
1 parent f841a27 commit 8155454
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/LowerParallelTasks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,6 @@ struct LowerParallelTasks : public IRMutator {
// TODO(zvookin): Figure out how we want to handle name mangling of closures.
// For now, the C++ backend makes them extern "C" so they have to be NameMangling::C.
LoweredFunc closure_func{new_function_name, closure_args, std::move(wrapped_body), LinkageType::Internal, NameMangling::C};
if (target.has_feature(Target::Debug)) {
debug_arguments(&closure_func, target);
}
closure_implementations.emplace_back(std::move(closure_func));
}

Expand Down

0 comments on commit 8155454

Please sign in to comment.