[llvm] [LV] Add initial support for vectorizing literal struct return values (PR #109833)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 10 02:10:16 PDT 2024
================
@@ -122,6 +122,8 @@ Type *VPTypeAnalysis::inferScalarTypeForRecipe(const VPWidenRecipe *R) {
case Instruction::FNeg:
case Instruction::Freeze:
return inferScalarType(R->getOperand(0));
+ case Instruction::ExtractValue:
+ return R->getUnderlyingInstr()->getType();
----------------
fhahn wrote:
This may return a vector type from `inferScalarTypeForRecipe` now?
https://github.com/llvm/llvm-project/pull/109833
More information about the llvm-commits
mailing list