Revert "Revert "[FunctionAttrs] Identify norecurse functions""
authorJames Molloy <james.molloy@arm.com>
Thu, 12 Nov 2015 10:55:20 +0000 (10:55 +0000)
committerJames Molloy <james.molloy@arm.com>
Thu, 12 Nov 2015 10:55:20 +0000 (10:55 +0000)
commit29020c0a61eb294acc5df86b2109f411916ec969
tree2edd1ea7e642587cf75cf6dbbf64f58346bc1c66
parent4e0567ae265441bcc78ca629110f638a1428ee2a
Revert "Revert "[FunctionAttrs] Identify norecurse functions""

This reapplies this patch, with test fixes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252871 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/FunctionAttrs.cpp
test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll
test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll
test/Transforms/FunctionAttrs/2010-10-30-volatile.ll
test/Transforms/FunctionAttrs/atomic.ll
test/Transforms/FunctionAttrs/norecurse.ll [new file with mode: 0644]
test/Transforms/FunctionAttrs/optnone.ll