Skip to content
Commit 2f82e273 authored by Owen Anderson's avatar Owen Anderson
Browse files

Add an early implementation of a partial inlining pass. The idea behind this

is that, for functions whose bodies are entirely guarded by an if-statement, it
can be profitable to pull the test out of the callee and into the caller.

This code has had some cursory testing, but still has a number of known issues
on the LLVM test suite.

llvm-svn: 73338
parent e141633f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment