This patch introduces a new spv_ptrcast intrinsic for tracking expected pointer types. The change fixes multiple OpenCL CTS regressions due the switch to opaque pointers (e.g. basic/hiloeo).
Fix style, indentation, comments of LIT tests and remove unnecessary metadata and attributes. Differential Revision: https://reviews.llvm.org/D130664
Differential Revision: https://reviews.llvm.org/D130597