[ome] Move OME past MarkUninitializedFixup.

Originally, I was going to update DI at the same time for ownership and to fix
the multiple-projectbox di bug. After a bit messing with it, it is a difficult
change to land due to the size. Instead, I am going to do the ownership update
first and then loop back around and then fix the DI bug.

rdar://31521023
This commit is contained in:
Michael Gottesman
2017-07-14 11:55:46 -07:00
parent f2a1ffeb64
commit aa0ac80c85
2 changed files with 36 additions and 1 deletions

View File

@@ -86,8 +86,8 @@ static void addMandatoryOptPipeline(SILPassPipelinePlan &P,
P.addAllocBoxToStack();
P.addNoReturnFolding();
P.addOwnershipModelEliminator();
P.addMarkUninitializedFixup();
P.addOwnershipModelEliminator();
P.addDefiniteInitialization();
P.addMandatoryInlining();
P.addPredictableMemoryOptimizations();