mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
turn IPSCCP back on by default, try #3 or 4? Woo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85929 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2396cc37ae
commit
fde2da47de
@ -99,8 +99,7 @@ namespace llvm {
|
|||||||
if (UnitAtATime) {
|
if (UnitAtATime) {
|
||||||
PM->add(createGlobalOptimizerPass()); // Optimize out global vars
|
PM->add(createGlobalOptimizerPass()); // Optimize out global vars
|
||||||
|
|
||||||
PM->add(createIPConstantPropagationPass()); // IP CP
|
PM->add(createIPSCCPPass()); // IP SCCP
|
||||||
// PM->add(createIPSCCPPass()); // IP SCCP
|
|
||||||
PM->add(createDeadArgEliminationPass()); // Dead argument elimination
|
PM->add(createDeadArgEliminationPass()); // Dead argument elimination
|
||||||
}
|
}
|
||||||
PM->add(createInstructionCombiningPass()); // Clean up after IPCP & DAE
|
PM->add(createInstructionCombiningPass()); // Clean up after IPCP & DAE
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
// RUN: %llvmgxx %s -O2 -S -o - | FileCheck %s
|
// RUN: %llvmgxx %s -O2 -S -o - | FileCheck %s
|
||||||
// XFAIL: *
|
|
||||||
|
|
||||||
// This test verifies that we get expected codegen out of the -O2 optimization
|
// This test verifies that we get expected codegen out of the -O2 optimization
|
||||||
// level from the full optimizer.
|
// level from the full optimizer.
|
||||||
|
Loading…
Reference in New Issue
Block a user