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)
commite6521b57cc475e3606fd90e48363cc27aa17cc80
treea3ee0974036b15b053b2f9f432c2df881f87a328
parentf43fe1d163b34e1de5d045773728c571b59d1cdd
Get MCSchedModel directly from the subtarget.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165236 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/EarlyIfConversion.cpp