[llvm] [SPIR-V] Fix type mismatch in scalar-to-vector promotion for mixed-type builtins (PR #190969)
Arseniy Obolenskiy via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 13 05:36:51 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
----------------
aobolensk wrote:
Added the line for the consistency
https://github.com/llvm/llvm-project/pull/190969
More information about the llvm-commits
mailing list