================
@@ -361,6 +361,9 @@ CAST_OPERATION(AddressSpaceConversion)
 // Convert an integer initializer to an OpenCL sampler.
 CAST_OPERATION(IntToOCLSampler)
 
+// Truncate a vector type (HLSL only).
+CAST_OPERATION(HLSLVectorTruncation)
----------------
llvm-beanz wrote:

Yea... HLSL has a lot of unfortunate implicit language behaviors. Part of our 
goal with the Clang implementation is to capture those behaviors in a way we 
can diagnose them more accurately, and slowly tighten up the language as we 
evolve it.

https://github.com/llvm/llvm-project/pull/71098
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to