[llvm-commits] CVS: llvm/tools/gccas/gccas.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Dec 6 19:45:01 PST 2003


Changes in directory llvm/tools/gccas:

gccas.cpp updated: 1.87 -> 1.88

---
Log message:

It is now after pldi.  This issue has been fixed, so remove the hack


---
Diffs of the changes:  (+0 -6)

Index: llvm/tools/gccas/gccas.cpp
diff -u llvm/tools/gccas/gccas.cpp:1.87 llvm/tools/gccas/gccas.cpp:1.88
--- llvm/tools/gccas/gccas.cpp:1.87	Sat Nov 22 13:07:47 2003
+++ llvm/tools/gccas/gccas.cpp	Sat Dec  6 19:44:18 2003
@@ -70,12 +70,6 @@
     addPass(PM, createFunctionInliningPass());   // Inline small functions
 
   addPass(PM, createInstructionCombiningPass()); // Cleanup code for raise
-
-  // HACK HACK HACK.  This pass should be extended to support calls like 'call
-  // (const expr cast (free))(Ty *).  Until it does so, we have to run it after
-  // instruction combining.  This should be removed after PLDI!
-  addPass(PM, createRaiseAllocationsPass());     // call %malloc -> malloc inst
-
   addPass(PM, createRaisePointerReferencesPass());// Recover type information
   addPass(PM, createTailDuplicationPass());      // Simplify cfg by copying code
   addPass(PM, createCFGSimplificationPass());    // Merge & remove BBs





More information about the llvm-commits mailing list