[all-commits] [llvm/llvm-project] 3c2a9c: [SPIR-V] Fix type mismatch in scalar-to-vector pro...
Arseniy Obolenskiy via All-commits
all-commits at lists.llvm.org
Mon Apr 13 06:26:27 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3c2a9c90cb3c816609a6baabf919c392f0bcb40c
https://github.com/llvm/llvm-project/commit/3c2a9c90cb3c816609a6baabf919c392f0bcb40c
Author: Arseniy Obolenskiy <arseniy.obolenskiy at amd.com>
Date: 2026-04-13 (Mon, 13 Apr 2026)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/test/CodeGen/SPIRV/transcoding/ldexp.ll
A llvm/test/CodeGen/SPIRV/transcoding/pown.ll
A llvm/test/CodeGen/SPIRV/transcoding/rootn.ll
Log Message:
-----------
[SPIR-V] Fix type mismatch in scalar-to-vector promotion for mixed-type builtins (#190969)
When promoting scalar arguments to vectors for builtins like `ldexp`,
`pown`, and `rootn`, use the correct vector type matching the argument
element type instead of always using the return type: these builtins
take an integer argument but at the same time have floating point return
type
Fix `ldexp` test that does not pass spirv-val and add similar tests for
`pown` and `rootn`
related to https://github.com/llvm/llvm-project/issues/190736
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list