This is an archive of the discontinued LLVM Phabricator instance.

[AVX-512] Make VBMI instruction set enabling imply that the BWI instruction set is also enabled.
ClosedPublic

Authored by craig.topper on Nov 4 2016, 11:19 PM.

Details

Summary

This is needed to make the v64i8 and v32i16 types legal for the 512-bit VBMI instructions. Fixes PR30912.

This is the LLVM side part of this. Clang part is here https://reviews.llvm.org/D26306

I removed the -mcpu=skx from the vbmi intrinsic test cases so that we could be sure vbmi was enabling bwi to make the types legal. Somehow that changed the order of the addb instructions. Maybe something to do with the scheduler model?

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper retitled this revision from to [AVX-512] Make VBMI instruction set enabling imply that the BWI instruction set is also enabled..
craig.topper updated this object.
craig.topper added reviewers: zvi, delena.
craig.topper added a subscriber: llvm-commits.
zvi accepted this revision.Nov 8 2016, 1:38 PM
zvi edited edge metadata.

LGTM

This revision is now accepted and ready to land.Nov 8 2016, 1:38 PM
This revision was automatically updated to reflect the committed changes.