[clang] [HLSL] Rewrite inline HLSL intrinsics into TableGen (PR #188362)
Deric C. via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 26 09:52:32 PDT 2026
================
@@ -1,8 +1,8 @@
// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple dxil-pc-shadermodel6.2-library %s -fnative-half-type -fnative-int16-type -emit-llvm -disable-llvm-passes -o - | FileCheck %s
-// CHECK-LABEL: define {{.*}} <4 x float> @{{[A-Za-z1-9_]+}}dst_impl{{[A-Za-z1-9_]*}}(
-// CHECK-SAME: <4 x float> {{[A-Za-z )(]*}} [[P:%.*]], <4 x float> {{[A-Za-z )(]*}} [[Q:%.*]]) #[[ATTR0:[0-9]+]] {
+// CHECK-LABEL: define {{.*}} <4 x float> @{{[A-Za-z1-9_]+}}dstWithFloat{{[A-Za-z1-9_]*}}(
----------------
Icohedron wrote:
This PR made `dst` defined inline as a `Body` instead of being a call to `__detail::dst_impl` helper because the helper itself was one-line anyways.
https://github.com/llvm/llvm-project/pull/188362
More information about the cfe-commits
mailing list