projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix X86 subtarget to not overwrite the autodetected features by calling InitMCProcess...
[oota-llvm.git]
/
lib
/
Target
/
X86
/
X86Subtarget.cpp
diff --git
a/lib/Target/X86/X86Subtarget.cpp
b/lib/Target/X86/X86Subtarget.cpp
index 78c9a1a6a343bfe8745db9d7c1ac9ebb57a47193..ae31bb834bd091b14304a25a2a4539803daf1678 100644
(file)
--- a/
lib/Target/X86/X86Subtarget.cpp
+++ b/
lib/Target/X86/X86Subtarget.cpp
@@
-453,7
+453,7
@@
void X86Subtarget::resetSubtargetFeatures(StringRef CPU, StringRef FS) {
// CPUName may have been set by the CPU detection code. Make sure the
// new MCSchedModel is used.
- Init
MCProcessorInfo(CPUName, FS
);
+ Init
CPUSchedModel(CPUName
);
if (X86ProcFamily == IntelAtom || X86ProcFamily == IntelSLM)
PostRAScheduler = true;