[clang] [llvm] [X86][APX] Enable CF and emit register-form CFCMOV by default (PR #242389)

via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 13 22:39:22 PST 2026


================
@@ -72,6 +72,12 @@ defm : BoolField<"x86-indirect-branch-tracking", "false",
 defm : BoolField<"x86-use-vzeroupper", "true",
   "Minimize AVX to SSE transition penalty">;
 
+// X86InstrCMovSetCC.td
+defm : BoolField<"x86-cf-reg-operand", "true",
+  "Enable CFCMOV with register operands (select with zero)">;
+defm : BoolField<"x86-cf-mem-operand", "false",
----------------
Andarwinux wrote:

I think these should be tuning flags.

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


More information about the cfe-commits mailing list