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)
commitb8dced5dfa3b5abba27898dfd0a8341995756584
treeae4868ba75b17320911ca9b9b97406a3a64a4513
parent7471abd9ed0f224c6301ffa68cf02e21f900ef19
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).

llvm-svn: 255088
llvm/lib/IR/Instructions.cpp
llvm/test/Transforms/Inline/deopt-bundles.ll