This is an archive of the discontinued LLVM Phabricator instance.

[mlir][VectorOps] Loosen restrictions on vector.reduction types
ClosedPublic

Authored by bkramer on Sep 21 2020, 3:08 AM.

Details

Summary

LLVM can deal with any integer or float type, don't arbitrarily restrict
it to f32/f64/i32/i64.

Diff Detail

Event Timeline

bkramer created this revision.Sep 21 2020, 3:08 AM
Herald added a project: Restricted Project. · View Herald Transcript
bkramer requested review of this revision.Sep 21 2020, 3:08 AM
nicolasvasilache accepted this revision.Sep 21 2020, 3:12 AM
This revision is now accepted and ready to land.Sep 21 2020, 3:12 AM

LGTM, thanks for the generalization