[PATCH] D94502: [FunctionAttrs] Derive willreturn for fns with readonly` & `mustprogress`.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 12 09:25:27 PST 2021


fhahn updated this revision to Diff 316129.
fhahn added a comment.
Herald added a subscriber: dexonsmith.

Address comments, also add NumWillReturn stats counter and Function::willReturn()/Function::setWillReturn.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94502/new/

https://reviews.llvm.org/D94502

Files:
  llvm/include/llvm/IR/Function.h
  llvm/lib/Transforms/IPO/FunctionAttrs.cpp
  llvm/test/Transforms/FunctionAttrs/willreturn.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94502.316129.patch
Type: text/x-patch
Size: 4201 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210112/b4719ff7/attachment.bin>


More information about the llvm-commits mailing list