[Openmp-commits] [openmp] 319d5d9 - [NFC][OpenMP] Remove unused variable `new_iv_saved` in `openmp/runtime/src/kmp_collapse.cpp`

Shilei Tian via Openmp-commits openmp-commits at lists.llvm.org
Tue May 30 19:17:08 PDT 2023


Author: Shilei Tian
Date: 2023-05-30T22:17:02-04:00
New Revision: 319d5d99cadfee2a4cd4985db98399b99fb213fd

URL: https://github.com/llvm/llvm-project/commit/319d5d99cadfee2a4cd4985db98399b99fb213fd
DIFF: https://github.com/llvm/llvm-project/commit/319d5d99cadfee2a4cd4985db98399b99fb213fd.diff

LOG: [NFC][OpenMP] Remove unused variable `new_iv_saved` in `openmp/runtime/src/kmp_collapse.cpp`

Added: 
    

Modified: 
    openmp/runtime/src/kmp_collapse.cpp

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/src/kmp_collapse.cpp b/openmp/runtime/src/kmp_collapse.cpp
index cbfc52567b43f..8d0ed0e945c06 100644
--- a/openmp/runtime/src/kmp_collapse.cpp
+++ b/openmp/runtime/src/kmp_collapse.cpp
@@ -1135,10 +1135,6 @@ bool kmp_calc_original_ivs_for_chunk_end(
   kmp_iterations_t iterations =
       (kmp_iterations_t)__kmp_allocate(sizeof(kmp_loop_nest_iv_t) * n);
 
-#if defined(KMP_DEBUG)
-  auto new_iv_saved = new_iv;
-#endif
-
   // First, calc corresponding iteration in every modified loop:
   for (kmp_index_t ind = n; ind > 0;) {
     --ind;


        


More information about the Openmp-commits mailing list