This is an archive of the discontinued LLVM Phabricator instance.

[X86] Add tests for low/high bit clearing w/ BMI2
ClosedPublic

Authored by lebedev.ri on Jun 29 2018, 5:15 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

lebedev.ri created this revision.Jun 29 2018, 5:15 AM
  • Added x & (-1 << (32 - y)) pattern to help with test coverage for D48789.
  • Added 8/16 bit tests
  • Use more meaningful prefix names
spatel accepted this revision.Jul 3 2018, 12:12 PM

LGTM - please commit this. That way, if anyone wants to experiment with the logic in D48768, they can just apply that patch and see the diffs.

This revision is now accepted and ready to land.Jul 3 2018, 12:12 PM
This revision was automatically updated to reflect the committed changes.