Set up MCSchedModel after detecting the CPU type in X86SubTarget.
authorPreston Gurd <preston.gurd@intel.com>
Wed, 3 Oct 2012 15:55:13 +0000 (15:55 +0000)
committerPreston Gurd <preston.gurd@intel.com>
Wed, 3 Oct 2012 15:55:13 +0000 (15:55 +0000)
commitbfcb4aa10b5948539f6ee59eecfe88faa9fc4e94
tree1779d5d7bed8ff410277ea5805a8154a6063eb7f
parent6afc7cbdfe7753730bae164b8f6866d50c123341
Set up MCSchedModel after detecting the CPU type in X86SubTarget.

Corrects a problem whereby MCSchedModel was not being set up when
the CPU type was auto-detected.

Patch by Andy Zhang.

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