[flang-commits] [flang] [FLANG] Solving issue with adjustr intrinsic in where construct (PR #146851)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Mon Jul 7 14:55:11 PDT 2025


vzakhari wrote:

Thank you for the changes, but I think we cannot just avoid generating proper "conversion" here.  Maybe it is not the case currently, but imagine that both results of `hlfir.associate` actually have uses.  In this case, the users that expect `!fir.boxchar<1>` operand will receive `!fir.ref<...`.  I think we need to generate `fir.emboxchar` here to produce the new result-0 with the expected data type.

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


More information about the flang-commits mailing list