mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
It is now after pldi. This issue has been fixed, so remove the hack
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10306 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
eb12cd67dd
commit
1dcf7bc6a9
1 file changed
-6
@@ -70,12 +70,6 @@ void AddConfiguredTransformationPasses(PassManager &PM) {
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user