[PATCH] D83351: [llvm-reduce] Reducing attributes

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 7 15:26:27 PDT 2020


lebedev.ri created this revision.
lebedev.ri added reviewers: nickdesaulniers, dblaikie, diegotf, george.burgess.iv, jdoerfert, Tyker.
lebedev.ri added a project: LLVM.
Herald added a subscriber: mgorny.

This handles all three places where attributes could currently be - `GlobalVariable`, `Function` and `CallBase`.
For last two, it correctly handles all three possible attribute locations (return value, arguments and function itself)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83351

Files:
  llvm/test/Reduce/remove-call-site-attributes.ll
  llvm/test/Reduce/remove-function-attributes.ll
  llvm/test/Reduce/remove-global-variable-attributes.ll
  llvm/tools/llvm-reduce/CMakeLists.txt
  llvm/tools/llvm-reduce/DeltaManager.h
  llvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp
  llvm/tools/llvm-reduce/deltas/ReduceAttributes.h
  llvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83351.276234.patch
Type: text/x-patch
Size: 13521 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200707/5faef7d8/attachment.bin>


More information about the llvm-commits mailing list