[FastISel] Fix patchpoint lowering to set the result register.
authorJuergen Ributzka <juergen@apple.com>
Tue, 15 Jul 2014 02:22:43 +0000 (02:22 +0000)
committerJuergen Ributzka <juergen@apple.com>
Tue, 15 Jul 2014 02:22:43 +0000 (02:22 +0000)
commitb90f1fd9fb16c5e4c2d64f9cda15d2832a7a88bf
tree59b65d5bdc90b094c0464531849cf5684da210ac
parent5fbf09a69f2cecf52e294eb966dff236ec3828d4
[FastISel] Fix patchpoint lowering to set the result register.

Always update the value map with the result register (if there is one), for the
patchpoint instruction we created to replace the target-specific call
instruction.

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