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

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 30 02:53:39 PDT 2024


================
@@ -1429,7 +1444,8 @@ def ProcessorFeatures {
                                          TuningFastScalarShiftMasks,
                                          TuningBranchFusion,
                                          TuningSBBDepBreaking,
-                                         TuningInsertVZEROUPPER];
+                                         TuningInsertVZEROUPPER,
+                                         TuningAvoidMFENCE];
----------------
RKSimon wrote:

Please can you add TuningAvoidMFENCE to BtVer2Tuning as well?

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


More information about the llvm-commits mailing list