HomePhabricator

[CUDA] Do not diagnose host/device variable access in dependent types.

Authored by tra on Dec 8 2020, 3:05 PM.

Description

[CUDA] Do not diagnose host/device variable access in dependent types.

isCUDADeviceBuiltinSurfaceType()/isCUDADeviceBuiltinTextureType() do not
work on dependent types as they rely on specific type attributes.

Differential Revision: https://reviews.llvm.org/D92893

Details