This is an archive of the discontinued LLVM Phabricator instance.

[Attributor] Split the runTillFixpoint function.
Needs ReviewPublic

Authored by kuter on Aug 30 2020, 1:15 PM.

Details

Summary

This patch splits the runTillFixpoint functions into two more functions
to improve readability and prevent logic duplication when we add more
scheduling options.

Diff Detail

Event Timeline

kuter created this revision.Aug 30 2020, 1:15 PM
Herald added a reviewer: homerdin. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
kuter requested review of this revision.Aug 30 2020, 1:15 PM
jdoerfert added inline comments.Aug 30 2020, 1:42 PM
llvm/include/llvm/Transforms/IPO/Attributor.h
1432

Use SmallVectorImpl<AbstractAttribute *> in APIs, or ArrayRef<...>