]> granicus.if.org Git - llvm/commit
[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)
commitc5595c0ce31045189a2829e2ac109833f167b6e6
tree166d1dd988ba92c58297eab046a55ae5d76ef52a
parentf7888363df95217edbf27b8cece3e93dbf6d4123
[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

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