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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to