Fix X86 subtarget to not overwrite the autodetected features by calling InitMCProcess...
authorCraig Topper <craig.topper@gmail.com>
Wed, 18 Sep 2013 05:54:09 +0000 (05:54 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 18 Sep 2013 05:54:09 +0000 (05:54 +0000)
commit773c07606e61c5090d73ea1317a0d1b0c29ec023
treec3225eeee5b77c11f5bd8ab6c3f50c77b8e5a7f6
parentb8f54d86f28f84103a5e8dff5d3f3a3b493aaaa7
Fix X86 subtarget to not overwrite the autodetected features by calling InitMCProcessorInfo right after detecting them. Instead add a new function that only updates the scheduling model and call that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190919 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCSubtargetInfo.h
lib/MC/MCSubtargetInfo.cpp
lib/Target/X86/X86Subtarget.cpp