[flang-commits] [flang] [Flang][HLFIR] Lower PACK(array, .TRUE.) to hlfir.reshape (PR #213603)

via flang-commits flang-commits at lists.llvm.org
Thu Aug 13 23:59:38 PDT 2026


ejose02 wrote:

@vzakhari , Updated per your feedback: the PACK shape temp is now !hlfir.expr<1xindex> with a relaxed hlfir.reshape SHAPE verifier, and hlfir.destroy is inserted in PackAsReshapeConversion (after hlfir.reshape) rather than in the generic reshape-inlining pattern to avoid duplicate destroys. 
Thanks for the review

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


More information about the flang-commits mailing list