diff options
author | Evan Cheng <evan.cheng@apple.com> | 2013-02-11 01:27:15 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2013-02-11 01:27:15 +0000 |
commit | 615620c9e8498386ef22696c7e37e9fd94f5ad8b (patch) | |
tree | dda05dad5059de9d569c052e478e90502fecc4e2 /llvm/lib/Transforms | |
parent | d1c640425073f6cb65869ee38a35b3c21cfc6e16 (diff) | |
download | bcm5719-llvm-615620c9e8498386ef22696c7e37e9fd94f5ad8b.tar.gz bcm5719-llvm-615620c9e8498386ef22696c7e37e9fd94f5ad8b.zip |
Currently, codegen may spent some time in SDISel passes even if an entire
function is successfully handled by fast-isel. That's because function
arguments are *always* handled by SDISel. Introduce FastLowerArguments to
allow each target to provide hook to handle formal argument lowering.
As a proof-of-concept, add ARMFastIsel::FastLowerArguments to handle
functions with 4 or fewer scalar integer (i8, i16, or i32) arguments. It
completely eliminates the need for SDISel for trivial functions.
rdar://13163905
llvm-svn: 174855
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions