[FunctionAttrs] Remove redundant assignment.

Identified by the Clang static analyzer.

llvm-svn: 253661
This commit is contained in:
Tilmann Scheller 2015-11-20 12:51:58 +00:00
parent bfd7ce01ea
commit 1e929f97f6
1 changed files with 0 additions and 2 deletions

View File

@ -486,8 +486,6 @@ determinePointerReadAttrs(Argument *A,
return Attribute::None;
}
Captures &= !CS.doesNotCapture(UseIndex);
// Since the optimizer (by design) cannot see the data flow corresponding
// to a operand bundle use, these cannot participate in the optimistic SCC
// analysis. Instead, we model the operand bundle uses as arguments in