[clang] [HLSL] Implement support for HLSL intrinsic - select (PR #107129)

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 5 12:41:06 PDT 2024


================
@@ -0,0 +1,45 @@
+// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple \
----------------
farzonl wrote:

This might be a DXism that doesn't apply going forward with upstream, but

select is an HLSL 2021 and above feature. It doesn't seem like we have the proper gating if we can invoke it with out `-std=hlsl2021` https://devblogs.microsoft.com/directx/announcing-hlsl-2021/

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


More information about the cfe-commits mailing list