[PATCH] D94633: [FunctionAttrs] Infer willreturn for functions without loops

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 14 09:29:44 PST 2021


nikic updated this revision to Diff 316682.
nikic added a comment.

Add test for infinite recursion and irreducible flow.


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

https://reviews.llvm.org/D94633

Files:
  lib/Transforms/IPO/FunctionAttrs.cpp
  test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll
  test/CodeGen/AMDGPU/inline-attr.ll
  test/CodeGenOpenCL/convergent.cl
  test/Transforms/FunctionAttrs/atomic.ll
  test/Transforms/FunctionAttrs/incompatible_fn_attrs.ll
  test/Transforms/FunctionAttrs/nofree.ll
  test/Transforms/FunctionAttrs/optnone.ll
  test/Transforms/FunctionAttrs/willreturn.ll
  test/Transforms/FunctionAttrs/writeonly.ll
  test/Transforms/InferFunctionAttrs/norecurse_debug.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94633.316682.patch
Type: text/x-patch
Size: 10561 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210114/141f2920/attachment-0001.bin>


More information about the llvm-commits mailing list