MachineLICM: Use TargetSchedModel instead of just itineraries
authorMatthias Braun <matze@braunis.de>
Sat, 13 Jun 2015 03:42:11 +0000 (03:42 +0000)
committerMatthias Braun <matze@braunis.de>
Sat, 13 Jun 2015 03:42:11 +0000 (03:42 +0000)
commit88e213159a3d0650db1a1ca4cd840e4bd87b12d2
treeb13dd786127940ce2fdd60cc44a869d7965cbc8e
parent45bb48ea197fe496865387120c7c55b56f0717d6
MachineLICM: Use TargetSchedModel instead of just itineraries

This will use Itinieraries if available, but will also work if just a
MCSchedModel is available.

Differential Revision: http://reviews.llvm.org/D10428

llvm-svn: 239658
llvm/include/llvm/Target/TargetInstrInfo.h
llvm/lib/CodeGen/MachineLICM.cpp
llvm/lib/CodeGen/TargetInstrInfo.cpp
llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
llvm/lib/Target/ARM/ARMBaseInstrInfo.h
llvm/lib/Target/PowerPC/PPCInstrInfo.h
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/lib/Target/X86/X86InstrInfo.h