[clang] [llvm] [HLSL][SPIRV] Added clamp intrinsic (PR #113394)
Adam Yang via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 25 10:04:49 PDT 2024
================
@@ -0,0 +1,130 @@
+; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
----------------
adam-yang wrote:
clamp-vec is now gone. The vector test cases in DirectX clamp.ll now also go through scalarizing and lowering all the way to DXIL ops.
https://github.com/llvm/llvm-project/pull/113394
More information about the llvm-commits
mailing list