[PATCH] D33355: [IR] Add additional addParamAttr/removeParamAttr to AttributeList API

Daniel Neilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 19 06:59:13 PDT 2017


dneilson created this revision.

Fairly straightforward patch to fill in some of the holes in the attributes API with respect to accessing parameter/argument attributes. The patch aims to step further towards encapsulating the idx+FirstArgIndex pattern to access these attributes to within the AttributeList.


https://reviews.llvm.org/D33355

Files:
  include/llvm/IR/Attributes.h
  include/llvm/IR/Function.h
  include/llvm/IR/Instructions.h
  lib/IR/Attributes.cpp
  lib/IR/Function.cpp
  lib/IR/Instructions.cpp
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  lib/Transforms/Scalar/CorrelatedValuePropagation.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33355.99561.patch
Type: text/x-patch
Size: 26606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170519/a0e1c354/attachment.bin>


More information about the llvm-commits mailing list