[flang-commits] [flang] [llvm] [OpenMP][LLVM] Update alloca IP after `PrivCB` in `OMPIRBUIlder` (PR #93920)

Kareem Ergawy via flang-commits flang-commits at lists.llvm.org
Mon Jun 3 06:23:19 PDT 2024


================
@@ -1583,6 +1583,9 @@ IRBuilder<>::InsertPoint OpenMPIRBuilder::createParallel(
     } else {
       Builder.restoreIP(
           PrivCB(InnerAllocaIP, Builder.saveIP(), V, *Inner, ReplacementValue));
+      InnerAllocaIP = {InnerAllocaIP.getPoint()->getParent(),
----------------
ergawy wrote:

See [this comment](https://github.com/llvm/llvm-project/pull/92430#discussion_r1624443899).

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


More information about the flang-commits mailing list