This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Vector] Add check of supported reduction kind for ScanOp.
ClosedPublic

Authored by jacquesguan on Apr 18 2022, 8:46 PM.

Details

Summary

This patch adds check of supported reduction kind for ScanOp to avoid using and/or/xor for floating point type.

Diff Detail

Event Timeline

jacquesguan created this revision.Apr 18 2022, 8:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 18 2022, 8:46 PM
jacquesguan requested review of this revision.Apr 18 2022, 8:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 18 2022, 8:46 PM
ftynse accepted this revision.Apr 19 2022, 4:48 AM
This revision is now accepted and ready to land.Apr 19 2022, 4:48 AM