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

Daniel Neilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 23 11:45:22 PDT 2017


dneilson updated this revision to Diff 99961.
dneilson added a comment.

Addressing comments:

- Removed the addAttribute(Ctx, Indices, Attribute) method from AttributeList, and replaces with one that operates on a single Index instead of a list.
- Cleaned up the wording on all of the add/remove attribute comments referring to return values being immutable


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.99961.patch
Type: text/x-patch
Size: 32855 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170523/c59e58c1/attachment-0001.bin>


More information about the llvm-commits mailing list