[llvm] [SPIR-V] Fix type mismatch in scalar-to-vector promotion for mixed-type builtins (PR #190969)
Marcos Maronas via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 9 11:06:56 PDT 2026
================
@@ -1,6 +1,7 @@
;; Check that backend converts scalar arg to vector for ldexp math instructions
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv32-unknown-unknown %s -o - -filetype=obj | spirv-val %}
;; #pragma OPENCL EXTENSION cl_khr_fp16 : enable
----------------
maarquitos14 wrote:
Not relevant for shader env because this is only for OpenCL builtins, right?
https://github.com/llvm/llvm-project/pull/190969
More information about the llvm-commits
mailing list