[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:56:24 PST 2021


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

Use all_of(instructions(F)).


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.316693.patch
Type: text/x-patch
Size: 10516 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210114/834e86f8/attachment.bin>


More information about the llvm-commits mailing list