[llvm] 1df8804 - [X86] Replace a use of ProcIntelSLM with FeatureFast7ByteNOP.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 25 20:47:37 PDT 2020
Author: Craig Topper
Date: 2020-07-25T20:46:48-07:00
New Revision: 1df8804ce57576ff0c655073df082042cdf970f6
URL: https://github.com/llvm/llvm-project/commit/1df8804ce57576ff0c655073df082042cdf970f6
DIFF: https://github.com/llvm/llvm-project/commit/1df8804ce57576ff0c655073df082042cdf970f6.diff
LOG: [X86] Replace a use of ProcIntelSLM with FeatureFast7ByteNOP.
Added:
Modified:
llvm/lib/Target/X86/X86MCInstLower.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86MCInstLower.cpp b/llvm/lib/Target/X86/X86MCInstLower.cpp
index 9ce2a4637e2e..b4db72e15060 100644
--- a/llvm/lib/Target/X86/X86MCInstLower.cpp
+++ b/llvm/lib/Target/X86/X86MCInstLower.cpp
@@ -1083,7 +1083,7 @@ void X86AsmPrinter::LowerTlsAddr(X86MCInstLower &MCInstLowering,
/// target cpu. 15-bytes is the longest single NOP instruction, but some
/// platforms can't decode the longest forms efficiently.
static unsigned maxLongNopLength(const X86Subtarget *Subtarget) {
- if (Subtarget->getFeatureBits()[X86::ProcIntelSLM])
+ if (Subtarget->getFeatureBits()[X86::FeatureFast7ByteNOP])
return 7;
if (Subtarget->getFeatureBits()[X86::FeatureFast15ByteNOP])
return 15;
More information about the llvm-commits
mailing list