[PATCH] D66585: [Attributor][NFC] Move DerefState to header and use StateWrapper

Hideto Ueno via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 22 05:43:35 PDT 2019


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

In D65402 <https://reviews.llvm.org/D65402>, I want to get DerefState from AADereferenceable but it was not allowed. This patch moves DerefState definition into Attributor.h and makes AADerefenceable inherit StateWrapper.


https://reviews.llvm.org/D66585

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66585.216590.patch
Type: text/x-patch
Size: 8364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190822/268bf7e4/attachment.bin>


More information about the llvm-commits mailing list