summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2005-11-01 20:06:59 +0000
committerJim Laskey <jlaskey@mac.com>2005-11-01 20:06:59 +0000
commit802748cd61839883045a1f6190674ac69c9d2233 (patch)
tree1365f6c1e208d6a858b29c3f4e8f72e310102a9e /llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
parent9e1784d738217d3d52556d0cc6e492e0f2a95122 (diff)
downloadbcm5719-llvm-802748cd61839883045a1f6190674ac69c9d2233.tar.gz
bcm5719-llvm-802748cd61839883045a1f6190674ac69c9d2233.zip
Allow itineraries to be passed through the Target Machine.
llvm-svn: 24139
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetMachine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
index bd31e97aed7..9a88750b398 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
@@ -64,7 +64,8 @@ unsigned PPCTargetMachine::getModuleMatchQuality(const Module &M) {
PPCTargetMachine::PPCTargetMachine(const Module &M, IntrinsicLowering *IL,
const std::string &FS)
: TargetMachine("PowerPC", IL, false, 4, 4, 4, 4, 4, 4, 2, 1, 1),
- Subtarget(M, FS), FrameInfo(*this, false), JITInfo(*this) {
+ Subtarget(M, FS), FrameInfo(*this, false), JITInfo(*this),
+ InstrItins(Subtarget.getInstrItineraryData()) {
if (TargetDefault == PPCTarget) {
if (Subtarget.isAIX()) PPCTarget = TargetAIX;
if (Subtarget.isDarwin()) PPCTarget = TargetDarwin;
OpenPOWER on IntegriCloud