Ticket #49241: clang-optimization.patch
File clang-optimization.patch, 1.3 KB (added by howarth.at.macports@…, 9 years ago) |
---|
-
llvmCore/lib/CodeGen/MachineSSAUpdater.cpp
old new 38 38 return *static_cast<IncomingPredInfoTy*>(IPI); 39 39 } 40 40 41 41 #pragma clang optimize off 42 42 MachineSSAUpdater::MachineSSAUpdater(MachineFunction &MF, 43 43 SmallVectorImpl<MachineInstr*> *NewPHI) 44 44 : AV(0), IPI(0), InsertedPHIs(NewPHI) { … … 50 50 delete &getAvailableVals(AV); 51 51 delete &getIncomingPredInfo(IPI); 52 52 } 53 #pragma clang optimize on 53 54 54 55 /// Initialize - Reset this object to get ready for a new set of SSA 55 56 /// updates. ProtoValue is the value used to name PHI nodes. -
llvmCore/lib/Transforms/Utils/SSAUpdater.cpp
old new 32 32 return *static_cast<IncomingPredInfoTy*>(IPI); 33 33 } 34 34 35 35 #pragma clang optimize off 36 36 SSAUpdater::SSAUpdater(SmallVectorImpl<PHINode*> *NewPHI) 37 37 : AV(0), PrototypeValue(0), IPI(0), InsertedPHIs(NewPHI) {} 38 38 … … 40 40 delete &getAvailableVals(AV); 41 41 delete &getIncomingPredInfo(IPI); 42 42 } 43 #pragma clang optimize on 43 44 44 45 /// Initialize - Reset this object to get ready for a new set of SSA 45 46 /// updates. ProtoValue is the value used to name PHI nodes.