ir_function_inlining: Implement inlining in many more cases.

We still don't inline for control flow in the inlined function, and we
don't have any limits on what we will inline.
This commit is contained in:
Eric Anholt
2010-04-22 17:52:59 -07:00
committed by Ian Romanick
parent ec9e73870c
commit e8e9748722
4 changed files with 240 additions and 21 deletions
+1
View File
@@ -64,3 +64,4 @@ public:
};
bool do_function_inlining(exec_list *instructions);
bool can_inline(ir_call *call);