From 81554545a69f86085a313ae3e1a0cc47dfa0ff15 Mon Sep 17 00:00:00 2001 From: Andrew Adams Date: Tue, 9 Apr 2024 11:28:59 -0700 Subject: [PATCH] Don't print on parallel task entry/exit with -debug flag Fixes #8184 --- src/LowerParallelTasks.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/LowerParallelTasks.cpp b/src/LowerParallelTasks.cpp index a035b2af6d1f..70f47885528c 100644 --- a/src/LowerParallelTasks.cpp +++ b/src/LowerParallelTasks.cpp @@ -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)); }