[clang] [llvm] [HLSL][DXIL] Implement `refract` intrinsic (PR #136026)
via cfe-commits
cfe-commits at lists.llvm.org
Fri May 2 17:02:39 PDT 2025
================
@@ -0,0 +1,356 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5
+// RUN: %clang_cc1 -finclude-default-header -triple \
+// RUN: dxil-pc-shadermodel6.3-library %s -fnative-half-type \
+// RUN: -emit-llvm -O1 -o - | FileCheck %s
----------------
raoanag wrote:
I was referring [reflect.ll](https://github.com/llvm/llvm-project/blob/e8825900838a11afe326e202d19a3df6e3408422/clang/test/CodeGenHLSL/builtins/reflect.hlsl#L1C1-L1C100) and [smoothstep.ll](https://github.com/llvm/llvm-project/blob/e8825900838a11afe326e202d19a3df6e3408422/clang/test/CodeGenHLSL/builtins/smoothstep.hlsl#L1C1-L1C100) both contain the note and `O1` flag. but I will these take off from `refract.hlsl`
Is this something that needs to be updated for all files under `clang/test/CodeGenHLSL/builtins/` or just the refract operator?
https://github.com/llvm/llvm-project/pull/136026
More information about the cfe-commits
mailing list