summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-03-03 02:14:15 +0000
committerChris Lattner <sabre@nondot.org>2004-03-03 02:14:15 +0000
commit93e9878c2c47980b98127357c847b82497a13686 (patch)
tree6bc6cd5277c3c11ecd57068adb7092a7f2adde7f /llvm/lib/Target
parent87ed2a4096d0b8d9a3fa28e309aac770d7943c28 (diff)
downloadbcm5719-llvm-93e9878c2c47980b98127357c847b82497a13686.tar.gz
bcm5719-llvm-93e9878c2c47980b98127357c847b82497a13686.zip
SPECIFY a target data to initialize the CBE target with. Until now we have
been using the default target data layout object to lower malloc instructions, causing us to allocate more memory than we needed! This could improve the performance of the CBE generated code substantially! llvm-svn: 12088
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/CBackend/CTargetMachine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/CBackend/CTargetMachine.h b/llvm/lib/Target/CBackend/CTargetMachine.h
index dba714d2ff9..1574fee4a25 100644
--- a/llvm/lib/Target/CBackend/CTargetMachine.h
+++ b/llvm/lib/Target/CBackend/CTargetMachine.h
@@ -21,7 +21,7 @@ class IntrinsicLowering;
struct CTargetMachine : public TargetMachine {
CTargetMachine(const Module &M, IntrinsicLowering *IL) :
- TargetMachine("CBackend", IL) {}
+ TargetMachine("CBackend", IL, M) {}
virtual const TargetInstrInfo &getInstrInfo() const { abort(); }
virtual const TargetFrameInfo &getFrameInfo() const { abort(); }
OpenPOWER on IntegriCloud