llvm-project
c858bf62 - Reland "[LoopVectorizer] Add support for partial reductions" (#120721)

Commit
319 days ago
Reland "[LoopVectorizer] Add support for partial reductions" (#120721) This re-lands the reverted #92418 When the VF is small enough so that dividing the VF by the scaling factor results in 1, the reduction phi execution thinks the VF is scalar and sets the reduction's output as a scalar value, tripping assertions expecting a vector value. The latest commit in this PR fixes that by using `State.VF` in the scalar check, rather than the divided VF. --------- Co-authored-by: Nicholas Guy <nicholas.guy@arm.com>
Author
Parents
Loading