[PATCH] D81022: [Attributor] Split the Attributor::run() into multiple functions.

Kuter Dinel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 11:32:29 PDT 2020


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

This patch splits the Attributor::run() function into multiple functions.

Simple Logic changes to make this possible:

1. Moved iteration count verification earlier.
2. NumFinalAAs get set a little bit later.


https://reviews.llvm.org/D81022

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81022.267941.patch
Type: text/x-patch
Size: 4788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200602/57e35b96/attachment.bin>


More information about the llvm-commits mailing list