[all-commits] [llvm/llvm-project] 2f8de7: [SPIR-V] Type inference must realize that a <1 x T...
Vyacheslav Levytskyy via All-commits
all-commits at lists.llvm.org
Thu Feb 13 08:47:06 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2f8de7b466efc613111904ee36d13ec95976739a
https://github.com/llvm/llvm-project/commit/2f8de7b466efc613111904ee36d13ec95976739a
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2025-02-13 (Thu, 13 Feb 2025)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVUtils.h
A llvm/test/CodeGen/SPIRV/validate/triton-tut-softmax-kernel.ll
Log Message:
-----------
[SPIR-V] Type inference must realize that a <1 x Type> vector type is not a legal vector type in LLT (#124560)
In this PR we account for possible <1 x LLVM Type> input to ensure that
we produce legal vector types during type inference.
We modify an LLVM type to conform with future transformations in
IRTranslator, if it's a <1 x Type> vector type, replacing it by the
element type, because <1 x Type> vector type is not a legal vector type
in LLT and IRTranslator will represent it as the scalar eventually.
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