diff options
author | Vyacheslav Levytskyy <vyacheslav.levytskyy@intel.com> | 2025-02-13 17:46:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-13 17:46:42 +0100 |
commit | 2f8de7b466efc613111904ee36d13ec95976739a (patch) | |
tree | 5673df73e162c3e01ef1eb7738670261eaf08817 /llvm/lib/FileCheck/FileCheck.cpp | |
parent | ba45592377703f99e1955a51f19922522446caec (diff) | |
download | llvm-2f8de7b466efc613111904ee36d13ec95976739a.zip llvm-2f8de7b466efc613111904ee36d13ec95976739a.tar.gz llvm-2f8de7b466efc613111904ee36d13ec95976739a.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions