mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-12 12:33:17 +00:00
add createCFGSimplificationPass to ARMTargetMachine::addInstSelector
llvm-svn: 31400
This commit is contained in:
parent
ef14a04371
commit
5cfe91aaca
@ -18,6 +18,7 @@
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/PassManager.h"
|
||||
#include "llvm/Target/TargetMachineRegistry.h"
|
||||
#include "llvm/Transforms/Scalar.h"
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
@ -51,6 +52,7 @@ unsigned ARMTargetMachine::getModuleMatchQuality(const Module &M) {
|
||||
|
||||
// Pass Pipeline Configuration
|
||||
bool ARMTargetMachine::addInstSelector(FunctionPassManager &PM, bool Fast) {
|
||||
PM.add(createCFGSimplificationPass());
|
||||
PM.add(createARMISelDag(*this));
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user