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:
Chris Lattner 2005-11-02 17:42:58 +00:00
parent 056728f192
commit bad13eb189
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -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;