[PATCH] D59566: [X86] Correct the value of MaxAtomicInlineWidth for pre-586 cpus

2019-03-21 Thread Phabricator via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL356709: [X86] Correct the value of MaxAtomicInlineWidth for pre-586 cpus (authored by ctopper, committed by ). Herald added a project: LLVM. Changed prior to commit: https://reviews.llvm.org/D59566?vs=1

[PATCH] D59566: [X86] Correct the value of MaxAtomicInlineWidth for pre-586 cpus

2019-03-21 Thread Eli Friedman via Phabricator via cfe-commits
efriedma accepted this revision. efriedma added a comment. This revision is now accepted and ready to land. LGTM > This is needed to get the LLONG_LOCK_FREE macro to be 2 on i586 and greater. Not sure these tests are really valuable, given we plan to change that immediately after this is merged

[PATCH] D59566: [X86] Correct the value of MaxAtomicInlineWidth for pre-586 cpus

2019-03-21 Thread Craig Topper via Phabricator via cfe-commits
craig.topper updated this revision to Diff 191643. craig.topper added a comment. Herald added subscribers: cfe-commits, jdoerfert. Herald added a project: clang. Rewrite to use a "cx8" feature flag that is set for all i586 and greater CPUs as well as generic. This assumes generic is never passed