summaryrefslogtreecommitdiff
path: root/openmp
diff options
context:
space:
mode:
authorVadim Paretsky <b-vadipa@microsoft.com>2023-05-12 15:38:46 -0700
committerVadim Paretsky <b-vadipa@microsoft.com>2023-05-12 15:40:37 -0700
commit7fd6d2babf4dcaa24f24da18cd0a858fa89579e8 (patch)
tree1eb6ede680206a8c287dfcb7375e683d6ca16d18 /openmp
parent6c3ea866e93003e16fc55d3b5cedd3bc371d1fde (diff)
downloadllvm-7fd6d2babf4dcaa24f24da18cd0a858fa89579e8.tar.gz
[OpenMP] remove an erroneous assert on the location argument
The 'loc' argument is optional, and some compilers (e.g. MSVC) do no supply it. Differential Revision: https://reviews.llvm.org/D148393
Diffstat (limited to 'openmp')
-rw-r--r--openmp/runtime/src/kmp_runtime.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/openmp/runtime/src/kmp_runtime.cpp b/openmp/runtime/src/kmp_runtime.cpp
index a0a72f163e7c..54d280534a33 100644
--- a/openmp/runtime/src/kmp_runtime.cpp
+++ b/openmp/runtime/src/kmp_runtime.cpp
@@ -8827,7 +8827,6 @@ __kmp_determine_reduction_method(
int team_size;
- KMP_DEBUG_ASSERT(loc); // it would be nice to test ( loc != 0 )
KMP_DEBUG_ASSERT(lck); // it would be nice to test ( lck != 0 )
#define FAST_REDUCTION_ATOMIC_METHOD_GENERATED \