[Openmp-commits] [PATCH] D149368: [MLIR][OpenMP] Initial Lowering of Declare Target for Data

Andrew Gozillon via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Sep 20 16:44:15 PDT 2023


agozillon added inline comments.


================
Comment at: flang/lib/Optimizer/Transforms/OMPEarlyOutlining.cpp:137
+          isAddressOfGlobalDeclareTarget(value))
+        inputs.remove(value);
 
----------------
vzakhari wrote:
> FWIW, doesn't this invalidate the underlying iterator?
it might actually, thank you for the catch.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149368/new/

https://reviews.llvm.org/D149368



More information about the Openmp-commits mailing list