[flang-commits] [flang] [flang][cuda] Lower c_devptr value arguments in bind(c) like c_ptr (PR #199316)
via flang-commits
flang-commits at lists.llvm.org
Tue May 26 06:47:36 PDT 2026
https://github.com/jeanPerier approved this pull request.
Looks good to me.
I wonder if it would be possible to have `IsBuiltinCPtr` returns true for devptr and to have genCPtrOrCFunptrValue/genCPtrOrCFunptrAddr handle dveptr since these are already covering funptr and cptr, I think it would be reasonable to assume every code that does special processing based for funptr/cptr should do similar handling for devptr.
https://github.com/llvm/llvm-project/pull/199316
More information about the flang-commits
mailing list