[StatepointLowering] Don't create temporary instructions. NFCI.
authorSanjoy Das <sanjoy@playingwithpointers.com>
Wed, 6 May 2015 02:36:20 +0000 (02:36 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Wed, 6 May 2015 02:36:20 +0000 (02:36 +0000)
commitc6bf3e9f127589de828434b581d267b8f8c5ac4e
tree17f91a1bafdb7bb78c3a9e888adac0be30dc2a4e
parent5191911a579d32148a9e30f18451d8552f2f1782
[StatepointLowering] Don't create temporary instructions.  NFCI.

Summary:
Instead of creating a temporary call instruction and lowering that, use
SelectionDAGBuilder::lowerCallOperands.

Reviewers: reames

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D9480

llvm-svn: 236563
llvm/include/llvm/IR/Statepoint.h
llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
llvm/test/CodeGen/X86/statepoint-indirect-return.ll [new file with mode: 0644]