Get MCSchedModel directly from the subtarget.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 4 Oct 2012 17:30:43 +0000 (17:30 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 4 Oct 2012 17:30:43 +0000 (17:30 +0000)
commit878d386b9a1d7d0c235c41aa5a5d30045aada2ab
treee586150cf63f961eaea7081baa6b3b26c0a5b1f8
parent8982222917ff80707b8ffea0b44d1488e8ec7018
Get MCSchedModel directly from the subtarget.

Not all targets have itineraries, but the subtarget always has an
MCSchedModel.

llvm-svn: 165236
llvm/lib/CodeGen/EarlyIfConversion.cpp