[clang] [llvm] [HLSL] Implement the `smoothstep` intrinsic (PR #132288)
Kaitlin Peng via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 27 10:44:12 PDT 2025
================
@@ -0,0 +1,60 @@
+; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
----------------
kmpeng wrote:
@s-perron Changing the target environments to `--target-env vulkan1.3` for hlsl-intrinsics and `--target-env spv1.6` for opencl seems to fix the issues. Do these changes work for you?
https://github.com/llvm/llvm-project/pull/132288
More information about the llvm-commits
mailing list