[flang-commits] [clang] [flang] [llvm] [mlir] [Flang]Fix for changed code at the end of AllocaIP. (PR #92430)

Mats Petersson via flang-commits flang-commits at lists.llvm.org
Thu Jun 6 07:12:42 PDT 2024


Leporacanthicus wrote:

> Allocas should be placed at the start of the entry block.

Would it be acceptable to make this change such that the alloca's are at the very start of the block? I have tried that, and it seems to work. It will still mean changes to the tests, and I can't guarantee ALL alloca's for all Fortran (via MLIR) generated code will be at the start of the entry block.

We have a further ticket to clean this up, but it's a bigger task, which we will do, but it will take a few weeks at least.

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


More information about the flang-commits mailing list