[fast-isel] Add X86FastIsel::FastLowerArguments to handle functions with 6 or
authorChad Rosier <mcrosier@apple.com>
Mon, 25 Feb 2013 21:59:35 +0000 (21:59 +0000)
committerChad Rosier <mcrosier@apple.com>
Mon, 25 Feb 2013 21:59:35 +0000 (21:59 +0000)
commita92ef4ba5b6f19a9e730ad518e70bc5298c03648
tree9b63584165bea5bdf2e80c27d44d74ad938f1dac
parent006c1d1d49bdc714d9aa4ea167cba18f6fe7a28e
[fast-isel] Add X86FastIsel::FastLowerArguments to handle functions with 6 or
fewer scalar integer (i32 or i64) arguments. It completely eliminates the need
for SDISel for trivial functions.

Also, add the new llc -fast-isel-abort-args option, which is similar to
-fast-isel-abort option, but for formal argument lowering.

llvm-svn: 176052
llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
llvm/lib/Target/X86/X86FastISel.cpp
llvm/test/CodeGen/X86/fast-isel-args.ll [new file with mode: 0644]