projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b14ef3
)
[X86] Replace a use of ProcIntelSLM with FeatureFast7ByteNOP.
author
Craig Topper
<craig.topper@intel.com>
Sun, 26 Jul 2020 03:46:42 +0000
(20:46 -0700)
committer
Craig Topper
<craig.topper@intel.com>
Sun, 26 Jul 2020 03:46:48 +0000
(20:46 -0700)
llvm/lib/Target/X86/X86MCInstLower.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/X86MCInstLower.cpp
b/llvm/lib/Target/X86/X86MCInstLower.cpp
index 9ce2a4637e2ea76a096fc73d430ef6ba6ef2099e..b4db72e1506017b920d20215716f69b8109d4a4c 100644
(file)
--- 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;