[PATCH] D72017: [Attributor] AANoRecurse check all call sites for `norecurse`

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 30 14:38:51 PST 2019


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

If all call sites are in `norecurse` functions we can derive `norecurse`
as the ReversePostOrderFunctionAttrsPass does. This should make
ReversePostOrderFunctionAttrsLegacyPass obsolete once the Attributor is
enabled.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72017

Files:
  llvm/lib/Transforms/IPO/Attributor.cpp
  llvm/test/Transforms/Attributor/ArgumentPromotion/dbg.ll
  llvm/test/Transforms/Attributor/ArgumentPromotion/nonzero-address-spaces.ll
  llvm/test/Transforms/Attributor/IPConstantProp/multiple_callbacks.ll
  llvm/test/Transforms/Attributor/internal-noalias.ll
  llvm/test/Transforms/Attributor/norecurse.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72017.235647.patch
Type: text/x-patch
Size: 6842 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191230/c04ccc45/attachment.bin>


More information about the llvm-commits mailing list