[PATCH] D76873: [Attributor][NFC] Split AbstractAttribute subclasses out of Attributor.cpp

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 26 11:23:05 PDT 2020


jdoerfert created this revision.
jdoerfert added reviewers: hfinkel, uenoku, sstefan1, baziotis.
Herald added subscribers: jfb, bollu, hiraditya, mgorny.
Herald added a project: LLVM.

Attributor.cpp became quite big and we need to start provide structure.
The Attributor code is now in Attributor.cpp and the AbstractAttribute
subclasses are in AttributorAttributes.cpp. Minor changes were required
but no intended functional changes. We also minimized includes.

Depends on D76870 <https://reviews.llvm.org/D76870>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76873

Files:
  llvm/include/llvm/Transforms/IPO/Attributor.h
  llvm/lib/Transforms/IPO/Attributor.cpp
  llvm/lib/Transforms/IPO/AttributorAttributes.cpp
  llvm/lib/Transforms/IPO/CMakeLists.txt
  llvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76873.252911.patch
Type: text/x-patch
Size: 398064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200326/3905884a/attachment-0001.bin>


More information about the llvm-commits mailing list