1
0
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:
Chris Lattner 2005-05-13 07:23:21 +00:00
parent c79b6eeefd
commit fdc4816996

View File

@ -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);