diff options
author | Shilei Tian <i@tianshilei.me> | 2024-03-27 00:09:40 -0400 |
---|---|---|
committer | Shilei Tian <i@tianshilei.me> | 2024-03-27 00:09:40 -0400 |
commit | fa9ee4a7f9f7fb9f586d40939269205fc3061c17 (patch) | |
tree | 9377e256f1a29e7d349684f5dd2945683a43117a /openmp/runtime | |
parent | 9961c03e9ec2fc47cb42fd16141b89dd8d8e2c01 (diff) | |
download | llvm-fa9ee4a7f9f7fb9f586d40939269205fc3061c17.zip llvm-fa9ee4a7f9f7fb9f586d40939269205fc3061c17.tar.gz llvm-fa9ee4a7f9f7fb9f586d40939269205fc3061c17.tar.bz2 |
[NFC][OpenMP] Silent unused variable in `kmp_collapse.cpp`
Diffstat (limited to 'openmp/runtime')
-rw-r--r-- | openmp/runtime/src/kmp_collapse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/runtime/src/kmp_collapse.cpp b/openmp/runtime/src/kmp_collapse.cpp index e63a980..f1bf049 100644 --- a/openmp/runtime/src/kmp_collapse.cpp +++ b/openmp/runtime/src/kmp_collapse.cpp @@ -1482,8 +1482,8 @@ void kmp_handle_upper_triangle_matrix( original_bounds_nest[0].ub0_u64); kmp_uint64 outer_lb0 = kmp_fix_iv(original_bounds_nest[0].loop_iv_type, original_bounds_nest[0].lb0_u64); - kmp_uint64 inner_ub0 = kmp_fix_iv(original_bounds_nest[1].loop_iv_type, - original_bounds_nest[1].ub0_u64); + [[maybe_unused]] kmp_uint64 inner_ub0 = kmp_fix_iv( + original_bounds_nest[1].loop_iv_type, original_bounds_nest[1].ub0_u64); // calculate the chunk's lower and upper bounds // the total number of iterations in the loop is the sum of the arithmetic // progression from the outer lower to outer upper bound (inclusive since the |