llvm-project
3a44256b - [VPlan] Model the ExtractValue indices as operands from VPlan0. (#230494)

Commit
45 days ago
[VPlan] Model the ExtractValue indices as operands from VPlan0. (#230494) Add the extractvalue indices as VPlan constant operands when building VPlan0, instead of only appending a single index when creating VPWidenRecipes. This gives VPInstruction, VPWidenRecipe and VPReplicateRecipe the same operand layout, so the indices are printed for all of them and the result type is derived from the operands. Includes test coverage for extracts with multiple indices. As the indices are now proper operands, extractvalues can be CSE'd. PR: https://github.com/llvm/llvm-project/pull/230494
Author
Parents
Loading