[llvm] [X86][MC][CodeGen] Support EGPR for KMOV (PR #73781)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 22:36:27 PST 2023


================
@@ -878,6 +878,8 @@ def relocImm : ComplexPattern<iAny, 1, "selectRelocImm",
 // X86 Instruction Predicate Definitions.
 def TruePredicate : Predicate<"true">;
 
+def HasEGPR : Predicate<"Subtarget->hasEGPR()">;
+def NoEGPR : Predicate<"!Subtarget->hasEGPR()">;
----------------
XinWang10 wrote:

Do we need to adjust the position of ':'.

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


More information about the llvm-commits mailing list