[flang-commits] [flang] [llvm] [flang] [flang-rt] Addition of the Fortran 2023 TOKENIZE intrinsic. (PR #181030)
via flang-commits
flang-commits at lists.llvm.org
Fri Feb 27 09:52:40 PST 2026
kwyatt-ext wrote:
@tblah Thank you for clarifying. Your idea is clearer, but I am filling with spaces. The corresponding call would be runtime::memset. The problem with memset is that it fills memory on a per byte basis. Using a larger character type will result in an invalid fill (i.e. 0x2020 instead of 0x0020). The TokenizeFillBlanks is to set each typeless character to a space.
I could be missing a better method, but that is why it is done this way.
https://github.com/llvm/llvm-project/pull/181030
More information about the flang-commits
mailing list