[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)
commitfd3417d288c22673ec6d76dc4695989bb544373f
tree5a2dac63733e1f8ca619c0997c0fdefa6b2ba6c2
parent029f4fd2ff539ed143b83c140349df2c064965d2
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176052 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/Target/X86/X86FastISel.cpp
test/CodeGen/X86/fast-isel-args.ll [new file with mode: 0644]