getFuncResultAddrSpace assumes the return type is only a pointer when determining a return type address space. This logic should account for pointer-like-types as well.
fixes: tests\optimization\func-resource-result\func-resource-result-simple.slang, part of #4291
getFuncResultAddrSpace
assumes the return type is only a pointer when determining a return type address space. This logic should account for pointer-like-types as well.fixes:
tests\optimization\func-resource-result\func-resource-result-simple.slang
, part of #4291