llvm-project
cdb712f9 - [VPlan] Single-scalar VPInstructions only use first lane of operands. (#248702)

Commit
1 day ago
[VPlan] Single-scalar VPInstructions only use first lane of operands. (#248702) Single-scalar VPInstructions only use the first lane of their operands, independent of their users. Report this in usesFirstLaneOnly and do not propagate first-lane use through them, removing the cast special case in replicateByVF and the cases for always-single-scalar opcodes. Assert that vector-to-scalar opcodes are not marked single-scalar. Blends only used by single-scalar casts are now costed as scalar selects.
Author
Parents
Loading