[all-commits] [llvm/llvm-project] 3a3990: [Flang][OpenMP] Move assert for wrapper syms and b...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Thu Aug 15 02:15:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a3990cb05858e7892a4825c677891a980f1cea8
      https://github.com/llvm/llvm-project/commit/3a3990cb05858e7892a4825c677891a980f1cea8
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-08-15 (Thu, 15 Aug 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/OpenMP.cpp

  Log Message:
  -----------
  [Flang][OpenMP] Move assert for wrapper syms and block args to genLoopNestOp (#103731)

This patch adds an assert to `genLoopNestClauses` to ensure the number
of symbols and corresponding loop wrapper entry block arguments have the
same size. This is checked by some of the callers, but it makes more
sense moving it into the function itself and avoid having to replicate
it.



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