================ @@ -1228,6 +1228,21 @@ def HasVendorXCVbi : Predicate<"Subtarget->hasVendorXCVbi()">, AssemblerPredicate<(all_of FeatureVendorXCVbi), "'XCVbi' (CORE-V Immediate Branching)">; +// MIPS Extensions + +def FeatureVendorXMIPSCMove + : RISCVExtension<1, 0, "MIPS conditional move instruction(s) (ccmov)">; +def HasVendorXMIPSCMove + : Predicate<"Subtarget->hasVendorXMIPSCMove()">, + AssemblerPredicate<(all_of FeatureVendorXMIPSCMove), + "'Xmipscmove' ('mips.ccmov' instruction)">; +def UseCCMovInsn : Predicate<"Subtarget->useCCMovInsn()">; +def FeatureVendorXMIPSLSP + : RISCVExtension<1, 0, "MIPS optimization for hardware load-store bonding">; +def HasVendorXMIPSLSP + : Predicate<"Subtarget->hasVendorXMIPSCMove()">, ---------------- djtodoro wrote:
https://github.com/llvm/llvm-project/pull/121394#discussion_r1918794675 https://github.com/llvm/llvm-project/pull/121394 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits