[FastISel] Add basic infrastructure to support a target-independent call lowering...
authorJuergen Ributzka <juergen@apple.com>
Fri, 11 Jul 2014 22:01:42 +0000 (22:01 +0000)
committerJuergen Ributzka <juergen@apple.com>
Fri, 11 Jul 2014 22:01:42 +0000 (22:01 +0000)
commit324b3fc7c8a5ec0cd253e45b814a79b555927968
tree624ebdbcd17006a360ec43b48b9d2f8704f90136
parentaf6721bf068b62e799d041795b487cda728dbf7d
[FastISel] Add basic infrastructure to support a target-independent call lowering hook in FastISel. WIP

The infrastructure mimics the call lowering we have already in place for
SelectionDAG, but with limitations. For example structure return demotion and
non-simple types are not supported (yet).

Currently every backend has its own implementation and duplicated code for call
lowering. There is also no specified interface that could be called from
target-independent code. The target-hook is opt-in and doesn't affect current
implementations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212848 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/FastISel.h
lib/CodeGen/SelectionDAG/FastISel.cpp