mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-27 06:54:30 +00:00
prevent latent switch creation
llvm-svn: 24413
This commit is contained in:
parent
78ac456d32
commit
b8ad89c2a4
@ -79,7 +79,9 @@ bool AlphaTargetMachine::addPassesToEmitFile(PassManager &PM,
|
||||
if (FileType != TargetMachine::AssemblyFile) return true;
|
||||
|
||||
PM.add(createLoopStrengthReducePass());
|
||||
PM.add(createCFGSimplificationPass());
|
||||
|
||||
|
||||
// FIXME: Implement efficient support for garbage collection intrinsics.
|
||||
PM.add(createLowerGCPass());
|
||||
|
||||
@ -92,8 +94,6 @@ bool AlphaTargetMachine::addPassesToEmitFile(PassManager &PM,
|
||||
// Make sure that no unreachable blocks are instruction selected.
|
||||
PM.add(createUnreachableBlockEliminationPass());
|
||||
|
||||
PM.add(createCFGSimplificationPass());
|
||||
|
||||
if (EnableAlphaDAG)
|
||||
PM.add(createAlphaISelDag(*this));
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user