[PATCH] D68932: [Attributor][MustExecute] Use optimistic information in MustBeExecutedContextExplorer

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 13 23:25:47 PDT 2019


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

NOTE: This is a prototype. We need a way to keep
MustBeExecutedContextExplorer updates separate from other updates so
they can continue on, then this should help.

This allows optimistic information to be used to answer the question if
a call returns. This will also record dependences between attributes
using the explorer and AAWillReturn/AANoUnwind that are used to improve
the IR information. If the latter ever get fixed, the updates of the
former are triggered and we have better known information available.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D68932

Files:
  llvm/include/llvm/Analysis/MustExecute.h
  llvm/include/llvm/Transforms/IPO/Attributor.h
  llvm/lib/Analysis/MustExecute.cpp
  llvm/lib/Transforms/IPO/Attributor.cpp
  llvm/test/Transforms/FunctionAttrs/arg_nocapture.ll
  llvm/test/Transforms/FunctionAttrs/liveness.ll
  llvm/test/Transforms/FunctionAttrs/nonnull.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68932.224810.patch
Type: text/x-patch
Size: 8694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191014/faff009c/attachment-0001.bin>


More information about the llvm-commits mailing list