TIFitis added inline comments.
================ Comment at: mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:1533 + ompLoc, builder.saveIP(), mapTypeFlags, mapNames, mapperAllocas, + mapperFunc, deviceID, ifCond, processMapOpCB, bodyCB)); + } else { ---------------- TIFitis wrote: > mehdi_amini wrote: > > mapperFunc is used uninitialized here which is UB, can you look into this? > Thanks for pointing out, I'll push a patch to fix this. https://github.com/llvm/llvm-project/commit/9ea3fcfa380c6097fddd0d9a9b2c13f0f20bc41a This fixes it. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D142914/new/ https://reviews.llvm.org/D142914 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits