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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Feb 16 07:53:12 PST 2026


agozillon wrote:

Fairly certain our GPU backend has issues with allocas not being present in the entry block, it doesn't always cause issues but it has caused problems before, but they are usually in the form of an ISEL crash from what I can recollect. I have a similar fix in place elsewhere, it might have improved in the past year and a half though! So, where feasible it's best to have them in the entry block from my understanding.

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


More information about the Mlir-commits mailing list