HomePhabricator

[Attributor] Do not set 'returned' attribute for arguments that cannot be…

Authored by sdmitriev on Apr 25 2020, 9:33 AM.

Description

[Attributor] Do not set 'returned' attribute for arguments that cannot be bitcasted to function result

Reviewers: jdoerfert, sstefan1, uenoku

Reviewed By: jdoerfert

Subscribers: hiraditya, uenoku, llvm-commits

Tags: #llvm

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