[all-commits] [llvm/llvm-project] aae2ea: [SLP]Fix a crash when trying to cast scalable vect...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Wed Jul 19 11:57:44 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aae2eaae2cefd3132059925c4592276defdb1faa
https://github.com/llvm/llvm-project/commit/aae2eaae2cefd3132059925c4592276defdb1faa
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2023-07-19 (Wed, 19 Jul 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/RISCV/scalable-type-to-vect.ll
Log Message:
-----------
[SLP]Fix a crash when trying to cast scalable vector type to fixed.
Need to check for FixedVectorType, not a vector type, since later
compiler performs unconditional cast to FixedVectorType and gets the
number of elements in this type.
More information about the All-commits
mailing list