[llvm] 41876a3 - [X86] Fix missing HasPKU predicate
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 11 02:02:41 PST 2022
Author: Simon Pilgrim
Date: 2022-12-11T10:02:00Z
New Revision: 41876a32499278d428551efdd721a39ed1837a8c
URL: https://github.com/llvm/llvm-project/commit/41876a32499278d428551efdd721a39ed1837a8c
DIFF: https://github.com/llvm/llvm-project/commit/41876a32499278d428551efdd721a39ed1837a8c.diff
LOG: [X86] Fix missing HasPKU predicate
This was declared in FeaturePKU but defined just as PKU.
Noticed while preparing to add Unsupported features handling to X86 scheduler models.
Added:
Modified:
llvm/lib/Target/X86/X86InstrInfo.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td
index 6416ff099025..65431d5ee071 100644
--- a/llvm/lib/Target/X86/X86InstrInfo.td
+++ b/llvm/lib/Target/X86/X86InstrInfo.td
@@ -917,8 +917,8 @@ def HasVLX : Predicate<"Subtarget->hasVLX()">;
def NoVLX : Predicate<"!Subtarget->hasVLX()">;
def NoVLX_Or_NoBWI : Predicate<"!Subtarget->hasVLX() || !Subtarget->hasBWI()">;
def NoVLX_Or_NoDQI : Predicate<"!Subtarget->hasVLX() || !Subtarget->hasDQI()">;
-def PKU : Predicate<"Subtarget->hasPKU()">;
-def HasVNNI : Predicate<"Subtarget->hasVNNI()">;
+def HasPKU : Predicate<"Subtarget->hasPKU()">;
+def HasVNNI : Predicate<"Subtarget->hasVNNI()">;
def HasVP2INTERSECT : Predicate<"Subtarget->hasVP2INTERSECT()">;
def HasBF16 : Predicate<"Subtarget->hasBF16()">;
def HasFP16 : Predicate<"Subtarget->hasFP16()">;
More information about the llvm-commits
mailing list