[llvm] [X86] Prefer `lock or` over mfence (PR #106555)

Valentin Churavy via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 23:15:13 PDT 2024


================
@@ -882,7 +886,8 @@ def ProcessorFeatures {
   list<SubtargetFeature> NHMTuning = [TuningMacroFusion,
                                       TuningSlowDivide64,
                                       TuningInsertVZEROUPPER,
-                                      TuningNoDomainDelayMov];
+                                      TuningNoDomainDelayMov,
+                                      TuningAvoidMFENCE];
----------------
vchuravy wrote:

Also added it to x86-64-v1, since that ought to be equivalent to early "core" marchs?

https://github.com/llvm/llvm-project/pull/106555


More information about the llvm-commits mailing list