[clang] [HLSL] Vector standard conversions (PR #71098)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 29 08:41:55 PST 2023


================
@@ -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(VectorTruncation)
----------------
AaronBallman wrote:

Should we name this `HLSLVectorTruncation` so it's especially clear this only applies to HLSL?

https://github.com/llvm/llvm-project/pull/71098


More information about the cfe-commits mailing list