diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-04-12 21:46:31 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-04-12 21:46:31 +0000 |
commit | 5f0b51547ca71f496208ac23b92481132efa0def (patch) | |
tree | 53f3abe4371e5b9adeebfcadea46e830fc6f2c39 /lib | |
parent | ee7e2869977b3501c605c5583d19071f15b5a4cf (diff) | |
download | external_llvm-5f0b51547ca71f496208ac23b92481132efa0def.zip external_llvm-5f0b51547ca71f496208ac23b92481132efa0def.tar.gz external_llvm-5f0b51547ca71f496208ac23b92481132efa0def.tar.bz2 |
We don't need to insert TargetData into the PassManager here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12874 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/SparcV9/SparcV9TargetMachine.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp index 0f15b13..f15f941 100644 --- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp +++ b/lib/Target/SparcV9/SparcV9TargetMachine.cpp @@ -199,11 +199,6 @@ SparcV9TargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out /// generation for the UltraSparcV9. /// void SparcV9JITInfo::addPassesToJITCompile(FunctionPassManager &PM) { - const TargetData &TD = TM.getTargetData(); - - PM.add(new TargetData("lli", TD.isLittleEndian(), TD.getPointerSize(), - TD.getPointerAlignment(), TD.getDoubleAlignment())); - // Replace malloc and free instructions with library calls. PM.add(createLowerAllocationsPass()); |