[PATCH] D88714: [NewPM][CGSCC] Handle newly added functions not directly referenced by existing nodes

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 18:25:53 PDT 2020


aeubanks created this revision.
aeubanks added a reviewer: asbirlea.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
aeubanks requested review of this revision.

As mentioned in https://reviews.llvm.org/D87798, newly created functions
that aren't referenced by an existing node are not properly handled.

This checks all newly added functions for references to other functions
that don't have a populated node.

coro-retcon-resume-values2.ll actually has an instance of this
happening.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88714

Files:
  llvm/lib/Analysis/CGSCCPassManager.cpp
  llvm/test/Transforms/Coroutines/coro-retcon-resume-values2.ll
  llvm/unittests/Analysis/CGSCCPassManagerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88714.295710.patch
Type: text/x-patch
Size: 5527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201002/85d25d54/attachment.bin>


More information about the llvm-commits mailing list