[Attributor] Do not update or manifest dead attributes
authorJohannes Doerfert <jdoerfert@anl.gov>
Wed, 14 Aug 2019 21:25:08 +0000 (21:25 +0000)
committerJohannes Doerfert <jdoerfert@anl.gov>
Wed, 14 Aug 2019 21:25:08 +0000 (21:25 +0000)
commit9a1a1f96d9cda223252ac7c868426a326b90d647
treecec80bf0f90e6f5fb802e246619be7d47688d7d8
parent66214b581c4357748fdcad9e824a70bd9b7187aa
[Attributor] Do not update or manifest dead attributes

Summary:
If the associated context instruction is assumed dead we do not need to
update or manifest the state.

Reviewers: sstefan1, uenoku

Subscribers: hiraditya, bollu, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D66116

llvm-svn: 368921
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/Attributor.cpp