mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-06 10:38:54 +00:00
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
This commit is contained in:
parent
ee7e286997
commit
5f0b51547c
@ -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());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user