From 5de227dcdab4e71386d3edb37549ef8d1f71f08d Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sat, 10 Dec 2022 21:28:15 +0000 Subject: [PATCH] [X86] Fix missing HasLAHFSAHF64 predicate This was declared in FeatureLAHFSAHF64 but never defined. Noticed while preparing to add Unsupported features handling to X86 scheduler models. --- llvm/lib/Target/X86/X86InstrInfo.td | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td index 65431d5..34f9d30 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.td +++ b/llvm/lib/Target/X86/X86InstrInfo.td @@ -973,6 +973,7 @@ def HasPREFETCHI : Predicate<"Subtarget->hasPREFETCHI()">; def HasPrefetchW : Predicate<"Subtarget->hasPrefetchW()">; def HasPREFETCHWT1 : Predicate<"Subtarget->hasPREFETCHWT1()">; def HasLAHFSAHF : Predicate<"Subtarget->hasLAHFSAHF()">; +def HasLAHFSAHF64 : Predicate<"Subtarget->hasLAHFSAHF64()">; def HasMWAITX : Predicate<"Subtarget->hasMWAITX()">; def HasCLZERO : Predicate<"Subtarget->hasCLZERO()">; def HasCLDEMOTE : Predicate<"Subtarget->hasCLDEMOTE()">; -- 2.7.4