[Mlir-commits] [llvm] [mlir] [OMPIRBuilder] Hoist alloca's to entry blocks of compiler-emitted GPU reduction functions (PR #181359)

Jeff Sandoval llvmlistbot at llvm.org
Fri Feb 13 12:00:00 PST 2026


jeffreysandoval wrote:

@ergawy, can you elaborate on what exactly causes the runtime memory fault?  I see a bit more context in ccb47d0fb9d01d44764fa4ca5c6dcf239ab76ed2, but it's still not clear to me.  Is there something mal-formed about the alloca's appearing outside of the entry block, or is it a limitation of the GPU backend that can't handle it?  Also, is the issue limited to `-O0` because the alloca's are hoisted by other passes at higher optimization levels?

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


More information about the Mlir-commits mailing list