[Inliner] Don't inline through callsites with operand bundles
authorSanjoy Das <sanjoy@playingwithpointers.com>
Fri, 23 Oct 2015 20:09:55 +0000 (20:09 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Fri, 23 Oct 2015 20:09:55 +0000 (20:09 +0000)
commit4935ac688915c934b3d2fcde29c25ae8f0ce7b95
treef79ce7d1c607d77cc52ac5c0445380856a15a36e
parentd334a86a9fbd589d23cd3ee00c5729f477158989
[Inliner] Don't inline through callsites with operand bundles

Summary:
This change teaches the LLVM inliner to not inline through callsites
with unknown operand bundles.  Currently all operand bundles are
"unknown" operand bundles but in the near future we will add support for
inlining through some select kinds of operand bundles.

Reviewers: reames, chandlerc, majnemer

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251141 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/InlineFunction.cpp
test/Feature/OperandBundles/inliner-conservative.ll [new file with mode: 0644]