diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-03-13 23:20:37 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-03-13 23:20:37 +0000 |
commit | 2dd2c652b21f9cbfd67d7524b80bb86c51130b90 (patch) | |
tree | 63054a50b9d8a8e7cc2fbc94f5bb2a870f7198df /llvm/lib/Target/IA64/IA64Bundling.cpp | |
parent | 60f495100a048cc1a6e50e7e68ee5157b2b6c83c (diff) | |
download | bcm5719-llvm-2dd2c652b21f9cbfd67d7524b80bb86c51130b90.tar.gz bcm5719-llvm-2dd2c652b21f9cbfd67d7524b80bb86c51130b90.zip |
Added getTargetLowering() to TargetMachine. Refactored targets to support this.
llvm-svn: 26742
Diffstat (limited to 'llvm/lib/Target/IA64/IA64Bundling.cpp')
-rw-r--r-- | llvm/lib/Target/IA64/IA64Bundling.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/IA64/IA64Bundling.cpp b/llvm/lib/Target/IA64/IA64Bundling.cpp index 2f3d238f082..11f0276da3a 100644 --- a/llvm/lib/Target/IA64/IA64Bundling.cpp +++ b/llvm/lib/Target/IA64/IA64Bundling.cpp @@ -37,9 +37,9 @@ namespace { /// Target machine description which we query for reg. names, data /// layout, etc. /// - TargetMachine &TM; + IA64TargetMachine &TM; - IA64BundlingPass(TargetMachine &tm) : TM(tm) { } + IA64BundlingPass(IA64TargetMachine &tm) : TM(tm) { } virtual const char *getPassName() const { return "IA64 (Itanium) Bundling Pass"; @@ -64,7 +64,7 @@ namespace { /// createIA64BundlingPass - Returns a pass that adds STOP (;;) instructions /// and arranges the result into bundles. /// -FunctionPass *llvm::createIA64BundlingPass(TargetMachine &tm) { +FunctionPass *llvm::createIA64BundlingPass(IA64TargetMachine &tm) { return new IA64BundlingPass(tm); } |