mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-15 07:59:57 +00:00
Fix a QOI issue noticed by Markus F.X.J. Oberhumer.
This fixes PR641 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24154 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
056728f192
commit
bad13eb189
@ -1731,6 +1731,7 @@ bool CTargetMachine::addPassesToEmitFile(PassManager &PM, std::ostream &o,
|
||||
PM.add(createLowerGCPass());
|
||||
PM.add(createLowerAllocationsPass(true));
|
||||
PM.add(createLowerInvokePass());
|
||||
PM.add(createCFGSimplificationPass()); // clean up after lower invoke.
|
||||
PM.add(new CBackendNameAllUsedStructs());
|
||||
PM.add(new CWriter(o, getIntrinsicLowering()));
|
||||
return false;
|
||||
|
@ -1731,6 +1731,7 @@ bool CTargetMachine::addPassesToEmitFile(PassManager &PM, std::ostream &o,
|
||||
PM.add(createLowerGCPass());
|
||||
PM.add(createLowerAllocationsPass(true));
|
||||
PM.add(createLowerInvokePass());
|
||||
PM.add(createCFGSimplificationPass()); // clean up after lower invoke.
|
||||
PM.add(new CBackendNameAllUsedStructs());
|
||||
PM.add(new CWriter(o, getIntrinsicLowering()));
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user