This is an archive of the discontinued LLVM Phabricator instance.

[AVX-512] Support ADD/SUB/MUL of mask vectors
ClosedPublic

Authored by craig.topper on Jan 18 2017, 8:05 PM.

Details

Summary

Currently we expand and scalarize these operations, but I think we should be able to implement ADD/SUB with KXOR and MUL with KAND.

We already do this for scalar i1 operations so I just extended it to vectors of i1.

Diff Detail

Event Timeline

craig.topper created this revision.Jan 18 2017, 8:05 PM
zvi added a subscriber: guyblank.Jan 18 2017, 10:09 PM
delena accepted this revision.Jan 18 2017, 11:06 PM
This revision is now accepted and ready to land.Jan 18 2017, 11:06 PM
This revision was automatically updated to reflect the committed changes.