mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 14:40:25 +00:00
Remove unneccesary pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2421 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
71d3934bad
commit
e23476a027
@ -9,7 +9,6 @@
|
|||||||
#include "llvm/Target/TargetMachine.h"
|
#include "llvm/Target/TargetMachine.h"
|
||||||
#include "llvm/Transforms/Instrumentation/TraceValues.h"
|
#include "llvm/Transforms/Instrumentation/TraceValues.h"
|
||||||
#include "llvm/Transforms/ChangeAllocations.h"
|
#include "llvm/Transforms/ChangeAllocations.h"
|
||||||
#include "llvm/Transforms/HoistPHIConstants.h"
|
|
||||||
#include "llvm/Transforms/Scalar/DecomposeMultiDimRefs.h"
|
#include "llvm/Transforms/Scalar/DecomposeMultiDimRefs.h"
|
||||||
#include "llvm/Assembly/PrintModulePass.h"
|
#include "llvm/Assembly/PrintModulePass.h"
|
||||||
#include "llvm/Bytecode/WriteBytecodePass.h"
|
#include "llvm/Bytecode/WriteBytecodePass.h"
|
||||||
@ -79,9 +78,6 @@ int main(int argc, char **argv) {
|
|||||||
// Build up all of the passes that we want to do to the module...
|
// Build up all of the passes that we want to do to the module...
|
||||||
PassManager Passes;
|
PassManager Passes;
|
||||||
|
|
||||||
// Hoist constants out of PHI nodes into predecessor BB's
|
|
||||||
Passes.add(createHoistPHIConstantsPass());
|
|
||||||
|
|
||||||
if (TraceValues != TraceOff) { // If tracing enabled...
|
if (TraceValues != TraceOff) { // If tracing enabled...
|
||||||
// Insert trace code in all functions in the module
|
// Insert trace code in all functions in the module
|
||||||
if (TraceValues == TraceBasicBlocks)
|
if (TraceValues == TraceBasicBlocks)
|
||||||
|
Loading…
Reference in New Issue
Block a user