[flang-commits] [flang] [flang] Simplify the comparison of characters (PR #154593)
Slava Zakharin via flang-commits
flang-commits at lists.llvm.org
Wed Aug 20 11:56:31 PDT 2025
https://github.com/vzakhari commented:
Thank you for the changes!
I think it is better to introduce an `hlfir.char_trim` operation and then recognize the same pattern using the new operation rather than recognizing the runtime calls.
FYI, @valerydmit is wroking on adding an HLFIR operation for scalar character comparison, so we won't have `_FortranACharacterCompareScalar1` soon.
https://github.com/llvm/llvm-project/pull/154593
More information about the flang-commits
mailing list