[clang] [llvm] [X86][APX] Enable CF and emit register-form CFCMOV by default (PR #242389)
Phoebe Wang via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 18 19:54:59 PST 2026
================
@@ -746,7 +746,9 @@
// RUN: %clang -target x86_64-unknown-unknown -march=x86-64 -mapx-features=cf -x c -E -dM -o - %s | FileCheck --check-prefix=CF %s
// RUN: %clang -target x86_64-unknown-unknown -march=x86-64 -mapx-features=zu -x c -E -dM -o - %s | FileCheck --check-prefix=ZU %s
// RUN: %clang -target x86_64-unknown-unknown -march=x86-64 -mapx-features=jmpabs -x c -E -dM -o - %s | FileCheck --check-prefix=JMPABS %s
-// RUN: %clang -target x86_64-unknown-unknown -march=x86-64 -mapxf -x c -E -dM -o - %s | FileCheck --check-prefixes=EGPR,PUSH2POP2,PPX,NDD,CCMP,NF,ZU,JMPABS,APXF %s
+// RUN: %clang -target x86_64-unknown-unknown -march=x86-64 -mapxf -x c -E -dM -o - %s | FileCheck --check-prefixes=EGPR,PUSH2POP2,PPX,NDD,CCMP,NF,CF,ZU,JMPABS,APXF %s
+// RUN: %clang -target x86_64-unknown-unknown -march=x86-64 -mapxf -mno-apx-features=cf -x c -E -dM -o - %s | FileCheck --check-prefix=APXF-NOCF %s
----------------
phoebewang wrote:
We don't need to test it specificly.
https://github.com/llvm/llvm-project/pull/242389
More information about the cfe-commits
mailing list