[llvm] [SPIRV] Add FloatControl2 capability (PR #144371)

Steven Perron via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 17 07:51:29 PDT 2025


================
@@ -0,0 +1,22 @@
+; RUN: llc -O0 -mtriple=spirv1.6-vulkan1.3-compute %s -o - | FileCheck %s --check-prefix=CHECK-NOEXT
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.6-vulkan1.3-compute %s -o - -filetype=obj | spirv-val %}
+
+; RUN: llc -O0 -mtriple=spirv1.6-vulkan1.3-compute -spirv-ext=+SPV_KHR_float_controls2 %s -o - | FileCheck %s --check-prefix=CHECK-EXT
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.6-vulkan1.3-compute %s -o - -filetype=obj | spirv-val %}
----------------
s-perron wrote:

Done, and I noticed another problem that I fixed.

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


More information about the llvm-commits mailing list