[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)
commitd77522093ed310ff76a2c9e6a3e1e15567ac734a
treedc5df623bb10b3e1825271f2356b2563dcdcee69
parentd3a9dd70429239093b136e178147ec0425dab269
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236563 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Statepoint.h
lib/CodeGen/SelectionDAG/StatepointLowering.cpp
test/CodeGen/X86/statepoint-indirect-return.ll [new file with mode: 0644]