]> granicus.if.org Git - llvm/commit
[Attributor][NFC] Simplify common pattern wrt. fixpoints
authorJohannes Doerfert <jdoerfert@anl.gov>
Sun, 4 Aug 2019 18:37:38 +0000 (18:37 +0000)
committerJohannes Doerfert <jdoerfert@anl.gov>
Sun, 4 Aug 2019 18:37:38 +0000 (18:37 +0000)
commiteaebb0f61dadd7243bcebad841213c538a25a0a2
tree68b85ac9e3b6750d6e2c01c7e11cdc893428e9a8
parentb25675fa45dc5c9ba8c00ebb0dee69bdda27cdb2
[Attributor][NFC] Simplify common pattern wrt. fixpoints

When a fixpoint is indicated the change status is known due to the
fixpoint kind. This simplifies a common code pattern by making the
connection explicit.

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