]> granicus.if.org Git - llvm/commit
Revert r275678, "Revert "Revert r275027 - Let FuncAttrs infer the 'returned' argument...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 18 Jul 2016 03:23:25 +0000 (03:23 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 18 Jul 2016 03:23:25 +0000 (03:23 +0000)
commit73585958d458d893efaa27d7d32b9f4028e1984c
treefa3c9bd09ff89d66fcfc948b8b925116d73e0608
parenta6f9e21635522f6e67ad158404511bce62ff7cd7
Revert r275678, "Revert "Revert r275027 - Let FuncAttrs infer the 'returned' argument attribute""

This reverts also r275029, "Update Clang tests after adding inference for the returned argument attribute"

It broke LTO build. Seems miscompilation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275756 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/FunctionAttrs.cpp
test/Transforms/FunctionAttrs/2009-01-02-LocalStores.ll
test/Transforms/FunctionAttrs/nocapture.ll
test/Transforms/FunctionAttrs/readattrs.ll