[flang-commits] [flang] [CUF] Handle renamed managed companion pointer in `CUFDeviceAddressOpConversion` (PR #198161)

Kareem Ergawy via flang-commits flang-commits at lists.llvm.org
Tue May 19 00:16:35 PDT 2026


ergawy wrote:

> Could we just pass the information in CUFOpConversionLate that renaming happened and it has to look for the companion pointer with X instead of . ?

As discussed on Slack, I update `CUFOpConversionLate` to handle both the original suffix and whatever the result of renaming from `CompilerGeneratedNamesConversion` might be using the same util that it uses: `fir::NameUniquer::replaceSpecialSymbols`.

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


More information about the flang-commits mailing list