[all-commits] [llvm/llvm-project] ea0e6e: [OpenACC] Improve 'loop' content restrictions

Erich Keane via All-commits all-commits at lists.llvm.org
Wed Apr 30 12:03:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea0e6e33835fe9fada89f77cc3a6cd74eb690067
      https://github.com/llvm/llvm-project/commit/ea0e6e33835fe9fada89f77cc3a6cd74eb690067
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2025-04-30 (Wed, 30 Apr 2025)

  Changed paths:
    M clang/lib/Sema/SemaOpenACC.cpp
    M clang/test/SemaOpenACC/loop-construct.cpp

  Log Message:
  -----------
  [OpenACC] Improve 'loop' content restrictions

The 'loop' construct has some limitations that are not particularly
clear on what can be in the for-loop. This patch adds some restriction
so that the increment can only be a addition or subtraction operation,
   BUT starts allowing Itr = Itr +/- N forms.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list