This is an archive of the discontinued LLVM Phabricator instance.

AVX-512: missing patterns in masked_load on KNL
ClosedPublic

Authored by delena on Dec 6 2015, 3:57 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

delena updated this revision to Diff 42008.Dec 6 2015, 3:57 AM
delena retitled this revision from to AVX-512: missing patterns in masked_load on KNL.
delena updated this object.
delena added a reviewer: igorb.
delena set the repository for this revision to rL LLVM.
delena added a subscriber: llvm-commits.
igorb added inline comments.Dec 7 2015, 12:16 AM
../lib/Target/X86/X86InstrAVX512.td
2788 ↗(On Diff #42008)

I think kmask should be zero extend and not COPY_TO_REGCLASS , it can access to mem512 and not mem256.
The same in other patterns.

delena updated this revision to Diff 42034.Dec 7 2015, 2:22 AM

Added LowerMLOAD(), LowerMSTORE() to resolve masked_load 8i32, 8f32 on KNL.

igorb accepted this revision.Dec 7 2015, 5:05 AM
igorb edited edge metadata.

LGTM

This revision is now accepted and ready to land.Dec 7 2015, 5:05 AM
This revision was automatically updated to reflect the committed changes.