[llvm] [X86] Support APX CMOV/CFCMOV instructions (PR #82592)

via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 4 21:47:33 PST 2024


================
@@ -4001,7 +4001,8 @@ unsigned X86AsmParser::checkTargetMatchPredicate(MCInst &Inst) {
 
   if (UseApxExtendedReg && !X86II::canUseApxExtendedReg(MCID))
     return Match_Unsupported;
-  if (ForcedNoFlag != !!(MCID.TSFlags & X86II::EVEX_NF))
+  if (ForcedNoFlag != !!(MCID.TSFlags & X86II::EVEX_NF) &&
----------------
goldsteinn wrote:

While your at it maybe: `ForcedNoFlag == !(MCID...)`?

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


More information about the llvm-commits mailing list