[llvm] [X86] Support APX CMOV/CFCMOV instructions (PR #82592)
Shengchen Kan via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 12 20:39:55 PDT 2024
================
@@ -227,6 +227,13 @@ NOFOLD(MMX_MOVQ64rr_REV)
NOFOLD(INSERTPSrr)
NOFOLD(VINSERTPSZrr)
NOFOLD(VINSERTPSrr)
+// Memory faults are suppressed for CFCMOV with memory operand.
+NOFOLD(CFCMOV16rr)
+NOFOLD(CFCMOV32rr)
+NOFOLD(CFCMOV64rr)
+NOFOLD(CFCMOV16rr_ND)
+NOFOLD(CFCMOV32rr_ND)
+NOFOLD(CFCMOV64rr_ND)
----------------
KanRobert wrote:
I think we don't need this at all. `mayFoldFromForm` in X86FoldTablesEmitter.cpp should already returns false for `MRMDestRegCC`
https://github.com/llvm/llvm-project/pull/82592
More information about the llvm-commits
mailing list