Skip to content

Commit

Permalink
Don't print on parallel task entry/exit with -debug flag (#8185)
Browse files Browse the repository at this point in the history
Fixes #8184
  • Loading branch information
abadams authored Apr 11, 2024
1 parent dc83707 commit f4c7831
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 f4c7831

Please sign in to comment.