Don't drop attributes when inlining through "deopt" operand bundles
authorSanjoy Das <sanjoy@playingwithpointers.com>
Wed, 9 Dec 2015 01:01:28 +0000 (01:01 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Wed, 9 Dec 2015 01:01:28 +0000 (01:01 +0000)
commitf001e6b8dbc1bb1c5e52afab14d13a79b50267e4
tree7d726193917e8fd693fbdfe74d09d165b4ad221d
parentbdc3e4db02c67d317d39cd2f54c67446c6284bc2
Don't drop attributes when inlining through "deopt" operand bundles

Test case attached (test case also checks that we don't drop the calling
convention, but that functionality was correct before this patch).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255088 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Instructions.cpp
test/Transforms/Inline/deopt-bundles.ll