mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user