[all-commits] [llvm/llvm-project] c77d8e: [Flang][OpenMP] Use InsertionGuard in DataSharingP...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Wed Jul 3 05:09:57 PDT 2024


  Branch: refs/heads/users/skatrak/composite-lower-01-dsp-ig
  Home:   https://github.com/llvm/llvm-project
  Commit: c77d8ee15baf9b34f6afaf349692537c6812ca75
      https://github.com/llvm/llvm-project/commit/c77d8ee15baf9b34f6afaf349692537c6812ca75
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

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

  Log Message:
  -----------
  [Flang][OpenMP] Use InsertionGuard in DataSharingProcessor

This patch removes the introduction of `fir.undef` operations as a way to keep
track of insertion points inside of the `DataSharingProcessor`, and it replaces
them with an `InsertionGuard` to avoid creating such operations inside of loop
wrappers.

Leaving any `fir.undef` operation inside of a loop wrapper would result in a
verifier error, since they enforce strict requirements on the contents of their
code regions.



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