OSDN Git Service

Do not derive no-recurse attribute if function does not have exact definition.
authorVivek Pandya <vivekvpandya@gmail.com>
Mon, 10 Jun 2019 04:16:04 +0000 (04:16 +0000)
committerVivek Pandya <vivekvpandya@gmail.com>
Mon, 10 Jun 2019 04:16:04 +0000 (04:16 +0000)
commit4fd396e05ed3ba96f067bf97ad5f3de7dc8a2f16
treeb504421107f6b45740b5e1bd749e5887622760ef
parenteb116a5b734c83128ae3bec50baf72b06f5d7a0e
Do not derive no-recurse attribute if function does not have exact definition.
This is fix for https://bugs.llvm.org/show_bug.cgi?id=41336

Reviewers: jdoerfert
Reviewed by: jdoerfert

Differential Revision: https://reviews.llvm.org/D63045

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362918 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/FunctionAttrs.cpp
test/Transforms/FunctionAttrs/arg_returned.ll