[llvm] b3c7e43 - [X86] Fix missing HasPRFCHW predicate
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 11 03:06:35 PST 2022
Author: Simon Pilgrim
Date: 2022-12-11T11:06:10Z
New Revision: b3c7e43d04b4f8ea3ad6a5a836d30b0af56042f1
URL: https://github.com/llvm/llvm-project/commit/b3c7e43d04b4f8ea3ad6a5a836d30b0af56042f1
DIFF: https://github.com/llvm/llvm-project/commit/b3c7e43d04b4f8ea3ad6a5a836d30b0af56042f1.diff
LOG: [X86] Fix missing HasPRFCHW predicate
This was declared in FeaturePRFCHW but never defined.
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 0a45b7d585b2..4af7bd66a1dd 100644
--- a/llvm/lib/Target/X86/X86InstrInfo.td
+++ b/llvm/lib/Target/X86/X86InstrInfo.td
@@ -969,6 +969,7 @@ def HasSGX : Predicate<"Subtarget->hasSGX()">;
def HasRDSEED : Predicate<"Subtarget->hasRDSEED()">;
def HasSSEPrefetch : Predicate<"Subtarget->hasSSEPrefetch()">;
def NoSSEPrefetch : Predicate<"!Subtarget->hasSSEPrefetch()">;
+def HasPRFCHW : Predicate<"Subtarget->hasPRFCHW()">;
def HasPREFETCHI : Predicate<"Subtarget->hasPREFETCHI()">;
def HasPrefetchW : Predicate<"Subtarget->hasPrefetchW()">;
def HasPREFETCHWT1 : Predicate<"Subtarget->hasPREFETCHWT1()">;
More information about the llvm-commits
mailing list