[flang] [llvm] [Flang][OpenMP][Runtime] Minor Flang runtime for OpenMP AMDGPU (PR #152631)

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 8 09:47:44 PDT 2025


================
@@ -127,8 +127,8 @@ class Elementwise {
   const Descriptor &instance_, *from_{nullptr};
   std::size_t elements_{instance_.InlineElements()};
   std::size_t elementAt_{0};
-  SubscriptValue subscripts_[common::maxRank];
-  SubscriptValue fromSubscripts_[common::maxRank];
+  SubscriptValue subscripts_[maxRank];
----------------
agozillon wrote:

I can remove it if you wish, but this flags up as a warning in Clang I believe, that'll cause us to error out in with -werror @dpalermo will know a bit more about this alteration I think :-) 

https://github.com/llvm/llvm-project/pull/152631


More information about the llvm-commits mailing list