Revert "[FunctionAttrs] Remove redundant assignment."
authorTilmann Scheller <t.scheller@samsung.com>
Fri, 20 Nov 2015 19:17:10 +0000 (19:17 +0000)
committerTilmann Scheller <t.scheller@samsung.com>
Fri, 20 Nov 2015 19:17:10 +0000 (19:17 +0000)
commit73a482f4ccc138785e138d4aa299f45478157e6a
treea8d95a2dbefc42ec115867dcbc4ea6dbe1a511fa
parente0a7f28fc6380d15d0d3e2f04362250e47c445e3
Revert "[FunctionAttrs] Remove redundant assignment."

This reverts r253661.

Turns out that the assignment is not redundant (despite the Clang static analyzer claiming the opposite).

The variable is being used by the lambda function AddUsersToWorklistIfCapturing().

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