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)
commit35fcb54cdd28e5b548a5f2f805a507ca58206be4
tree8ebd8d2bcc3e03155e8d748840477e9c93e6db41
parent0f0a50da56dae4a219aee55b17bc71f5079b01a4
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.

llvm-svn: 165122
llvm/lib/Target/X86/X86Subtarget.cpp