This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Use reduction intrinsics for larger than legal reductions
ClosedPublic

Authored by dmgreen on Jan 6 2020, 5:40 AM.

Details

Summary

The codegen for splitting a llvm.vector.reduction intrinsic into parts will be better than the codegen for the generic reductions. This will only directly effect when vectorization factors are specified by the user.

Also added tests to make sure the codegen for larger reductions is OK.

Diff Detail

Event Timeline

dmgreen created this revision.Jan 6 2020, 5:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 6 2020, 5:40 AM
This revision is now accepted and ready to land.Jan 8 2020, 12:47 AM
This revision was automatically updated to reflect the committed changes.