mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Allow targets to emit code into the entry block of each function
llvm-svn: 21930
This commit is contained in:
parent
c79b6eeefd
commit
fdc4816996
@ -932,6 +932,8 @@ bool SelectionDAGISel::runOnFunction(Function &Fn) {
|
||||
|
||||
FunctionLoweringInfo FuncInfo(TLI, Fn, MF);
|
||||
|
||||
EmitFunctionEntryCode(Fn, MF);
|
||||
|
||||
for (Function::iterator I = Fn.begin(), E = Fn.end(); I != E; ++I)
|
||||
SelectBasicBlock(I, MF, FuncInfo);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user