[X86] Replace a use of ProcIntelSLM with FeatureFast7ByteNOP.

This commit is contained in:
Craig Topper 2020-07-25 20:46:42 -07:00
parent 4b14ef33e8
commit 1df8804ce5
1 changed files with 1 additions and 1 deletions

View File

@ -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;