Merge pull request #783 from dbabokin/alias

Removing alias phases causing segfaults (second instance of the phases).
This commit is contained in:
Dmitry Babokin
2014-04-18 00:12:02 +04:00

View File

@@ -534,8 +534,6 @@ Optimize(llvm::Module *module, int optLevel) {
optPM.add(llvm::createScalarReplAggregatesPass());
optPM.add(llvm::createEarlyCSEPass());
optPM.add(llvm::createLowerExpectIntrinsicPass());
optPM.add(llvm::createTypeBasedAliasAnalysisPass());
optPM.add(llvm::createBasicAliasAnalysisPass());
// Early optimizations to try to reduce the total amount of code to
// work with if we can