[PATCH] D65711: [Attributor][NFCI] Make abstract attributes stateless

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 3 21:43:48 PDT 2019


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

To remove boilerplate, mostly passing through values to the
AbstractAttriubute base class, we extract the state into an IRPosition
helper. There is no function change intended.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D65711

Files:
  llvm/include/llvm/Transforms/IPO/Attributor.h
  llvm/lib/Transforms/IPO/Attributor.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65711.213226.patch
Type: text/x-patch
Size: 53625 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190804/c95dc2c7/attachment.bin>


More information about the llvm-commits mailing list