[FastISel][AArch64] Fix return type in FastLowerCall.
authorJuergen Ributzka <juergen@apple.com>
Wed, 23 Jul 2014 20:03:13 +0000 (20:03 +0000)
committerJuergen Ributzka <juergen@apple.com>
Wed, 23 Jul 2014 20:03:13 +0000 (20:03 +0000)
commit4fa6ecc26fe82f0cac9e0c4aed9fa45ecf8338e7
tree9e064d9504ae6b2c46f5f580388284a5679d2922
parent03f160f9d3adfcdc0446c514eee67ad7f79b3c8c
[FastISel][AArch64] Fix return type in FastLowerCall.

I used the wrong method to obtain the return type inside FinishCall. This fix
simply uses the return type from FastLowerCall, which we already determined to
be a valid type.

Reduced test case from Chad. Thanks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213788 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64FastISel.cpp
test/CodeGen/AArch64/fast-isel-call-return.ll [new file with mode: 0644]