The levelraise pass is a broken old piece of crufty code that should be
authorChris Lattner <sabre@nondot.org>
Wed, 15 Oct 2003 21:48:38 +0000 (21:48 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 15 Oct 2003 21:48:38 +0000 (21:48 +0000)
left on the side of the road without a second thought.

It is preventing forward progress, so for now, we will disable it by default.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9140 91177308-0d34-0410-b5e6-96231b3b80d8

tools/gccas/gccas.cpp

index 2cd408ab932f5d909d0fbe7aace0cb640ca8bfce..8388c9bfe3e92c6e1171c4075fb12e7246db1c6c 100644 (file)
@@ -58,7 +58,8 @@ void AddConfiguredTransformationPasses(PassManager &PM) {
     addPass(PM, createFunctionInliningPass());   // Inline small functions
 
   addPass(PM, createInstructionCombiningPass()); // Cleanup code for raise
-  addPass(PM, createRaisePointerReferencesPass());// Recover type information
+  // FIXME: levelraise pass disabled until it can be rewritten at a later date.
+  //addPass(PM, createRaisePointerReferencesPass());// Recover type information
   addPass(PM, createTailDuplicationPass());      // Simplify cfg by copying code
   addPass(PM, createCFGSimplificationPass());    // Merge & remove BBs
   addPass(PM, createScalarReplAggregatesPass()); // Break up aggregate allocas