[PATCH] D121978: [X86] Rename FeatureCMPXCHG8B/FeatureCMPXCHG16B to FeatureCX8/CX16 to match CPUID.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 17 23:21:11 PDT 2022
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/X86/X86InstrInfo.td:2238
"cmpxchg16b\t$dst", []>,
- TB, Requires<[HasCmpxchg16b,In64BitMode]>;
+ TB, Requires<[HasCX16,In64BitMode]>;
} // SchedRW, mayLoad, mayStore, hasSideEffects
----------------
I used hasCX16 here instead of useCMPXCHG16B since we have to use In64BitMode explicitly any way for the assembler.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121978/new/
https://reviews.llvm.org/D121978
More information about the llvm-commits
mailing list