This is an archive of the discontinued LLVM Phabricator instance.

[X86] Test the right bit to detect BMI2
ClosedPublic

Authored by atdt on Aug 5 2019, 11:34 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

atdt created this revision.Aug 5 2019, 11:34 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 5 2019, 11:34 AM
Herald added subscribers: llvm-commits, Restricted Project. · View Herald Transcript
atdt retitled this revision from Test the right bit to detect BMI2 to [X86] Test the right bit to detect BMI2.Aug 5 2019, 11:35 AM
atdt added a reviewer: echristo.
echristo accepted this revision.Aug 5 2019, 11:48 AM

This is fine. Can you add a link to the actual documentation in the commit message?

This revision is now accepted and ready to land.Aug 5 2019, 11:48 AM

@atdt can you fix the copy of this code in llvm/lib/Support/Host.cpp as well?

atdt updated this revision to Diff 213430.Aug 5 2019, 12:17 PM

Fixed this in llvm/lib/Support/Host.cpp as well.

atdt edited the summary of this revision. (Show Details)Aug 5 2019, 12:18 PM

Should be fixed in 9.0 too?

@hans

This revision was automatically updated to reflect the committed changes.
hans added a comment.Aug 6 2019, 1:25 AM

Should be fixed in 9.0 too?

@hans

Merged to release_90 in r367996.