[FunctionAttrs] Add handling for operand bundles
authorSanjoy Das <sanjoy@playingwithpointers.com>
Sat, 7 Nov 2015 01:56:00 +0000 (01:56 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Sat, 7 Nov 2015 01:56:00 +0000 (01:56 +0000)
commite70403f1977ee7c22814d8a45aff0bb39f95a194
treef5693ae08e1bd34bd71dc3ee3bab5c8fc5bececb
parentd044355f2d319b2003186187aabe2d0ed6e63684
[FunctionAttrs] Add handling for operand bundles

Summary:
Teach the FunctionAttrs to do the right thing for IR with operand
bundles.

Reviewers: reames, chandlerc

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252387 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/FunctionAttrs.cpp
test/Feature/OperandBundles/function-attrs.ll [new file with mode: 0644]