File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,7 @@ void initializeX86CallFrameOptimizationPass(PassRegistry &);
184
184
void initializeX86CmovConverterPassPass (PassRegistry &);
185
185
void initializeX86DAGToDAGISelLegacyPass (PassRegistry &);
186
186
void initializeX86DomainReassignmentPass (PassRegistry &);
187
+ void initializeX86DynAllocaExpanderPass (PassRegistry &);
187
188
void initializeX86ExecutionDomainFixPass (PassRegistry &);
188
189
void initializeX86ExpandPseudoPass (PassRegistry &);
189
190
void initializeX86FastPreTileConfigPass (PassRegistry &);
Original file line number Diff line number Diff line change @@ -65,13 +65,18 @@ class X86DynAllocaExpander : public MachineFunctionPass {
65
65
bool NoStackArgProbe = false ;
66
66
67
67
StringRef getPassName () const override { return " X86 DynAlloca Expander" ; }
68
+
69
+ public:
68
70
static char ID;
69
71
};
70
72
71
73
char X86DynAllocaExpander::ID = 0 ;
72
74
73
75
} // end anonymous namespace
74
76
77
+ INITIALIZE_PASS (X86DynAllocaExpander, " x86-dyn-alloca-expander" ,
78
+ " X86 DynAlloca Expander" , false , false )
79
+
75
80
FunctionPass *llvm::createX86DynAllocaExpander() {
76
81
return new X86DynAllocaExpander ();
77
82
}
Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeX86Target() {
106
106
initializeX86ArgumentStackSlotPassPass (PR);
107
107
initializeX86FixupInstTuningPassPass (PR);
108
108
initializeX86FixupVectorConstantsPassPass (PR);
109
+ initializeX86DynAllocaExpanderPass (PR);
109
110
}
110
111
111
112
static std::unique_ptr<TargetLoweringObjectFile> createTLOF (const Triple &TT) {
You can’t perform that action at this time.
0 commit comments