[Openmp-commits] [clang] [flang] [llvm] [openmp] [Clang][OpenMP][LoopTransformations] Add support for "#pragma omp fuse" loop transformation direcrive and "looprange" clause (PR #139293)

Walter J.T.V via Openmp-commits openmp-commits at lists.llvm.org
Fri May 9 11:35:11 PDT 2025


================
@@ -5378,6 +5379,10 @@ class CodeGenFunction : public CodeGenTypeCache {
 
   /// Set the address of a local variable.
   void setAddrOfLocalVar(const VarDecl *VD, Address Addr) {
+    if (LocalDeclMap.count(VD)) {
+      llvm::errs() << "Warning: VarDecl already exists in map: ";
+      VD->dumpColor(); 
+    }
----------------
eZWALT wrote:

Oops, thanks!

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


More information about the Openmp-commits mailing list