[llvm-branch-commits] [flang] [Flang][OpenMP] Add pass to replace allocas with device shared memory (PR #161863)

Tom Eccles via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jan 26 08:05:22 PST 2026


https://github.com/tblah commented:

There can be temporary allocas for boxes created implicitly in conversion from FIR->LLVM (dialect). See `placeInMemoryIfNotGlobalInit()` and the lowering for `fir::LoadOp` in `CodeGen.cpp`. I wonder if this pass would be better being part of mlir, running after FIR->LLVM dialect conversion on a mixture of LLVM and OpenMP dialect ops.

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


More information about the llvm-branch-commits mailing list