[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
Sun Apr 12 22:19:47 PDT 2026


================
@@ -0,0 +1,38 @@
+;; Check that backend converts scalar arg to vector for pown 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 %}
----------------
aobolensk wrote:

No, for the reason you mentioned in the previous comment

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


More information about the llvm-commits mailing list