llvm-project
dafd4ddd - [VPlan] Move extract-lane(0, canWideIV) combine before unrolling

Commit
6 days ago
[VPlan] Move extract-lane(0, canWideIV) combine before unrolling Some extract-lane combines can't be performed before unrolling, e.g. the one that combines it to Instruction::ExtractElement can end up extracting from a different part. But the extract-lane(0, canWideIV) can because at index 0 you're always extracting from the first part. Do this before unrolling, which improves codegen of unrolled code.
Author
Committer
Parents
Loading