commit | baf88b3b1a234c17022e7e93884ae285f1fd6650 | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Tue Jul 19 18:50:26 2016 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Tue Jul 19 18:50:26 2016 +0000 |
tree | 721885ba0c2224346b30d12c0c0253c6a7047503 | |
parent | bd7732211f3475cccd363a1e5e644ca7eae6c682 [diff] |
[FunctionAttrs] Correct the safety analysis for inference of 'returned' We skipped over ReturnInsts which didn't return an argument which would lead us to incorrectly conclude that an argument returned by another ReturnInst was 'returned'. This reverts commit r275756. This fixes PR28610. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276008 91177308-0d34-0410-b5e6-96231b3b80d8