mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
parent
2aa5962af6
commit
3ea71a58aa
@ -99,8 +99,7 @@ namespace llvm {
|
||||
if (UnitAtATime) {
|
||||
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(createInstructionCombiningPass()); // Clean up after IPCP & DAE
|
||||
|
@ -1,5 +1,4 @@
|
||||
// RUN: %llvmgxx %s -O2 -S -o - | FileCheck %s
|
||||
// XFAIL: *
|
||||
|
||||
// This test verifies that we get expected codegen out of the -O2 optimization
|
||||
// level from the full optimizer.
|
||||
|
Loading…
x
Reference in New Issue
Block a user