[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


================
@@ -1332,6 +1339,7 @@ InstructionCost VPWidenRecipe::computeCost(ElementCount VF,
         {TargetTransformInfo::OK_AnyValue, TargetTransformInfo::OP_None});
   }
 
+  case Instruction::ExtractValue:
----------------
fhahn wrote:

Is there a reason why the cost cannot be computed directly in ::computeCost straight away?

https://github.com/llvm/llvm-project/pull/109833


More information about the llvm-commits mailing list