[flang-commits] [flang] [flang] Fix length handling in character kind implicit conversion (PR #74586)

via flang-commits flang-commits at lists.llvm.org
Wed Dec 6 08:30:59 PST 2023


jeanPerier wrote:

> I wonder about the update message, which discusses setting the new RHS length. Should this say the new LHS length?

Thanks for the review! The "new RHS" is a new value converted from the RHS of the original fortran code. The updated code is producing this "new RHS" and was incorrectly setting its MLIR type length to the one of the assignment LHS (instead of preserving the one from the original RHS).


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


More information about the flang-commits mailing list