]> granicus.if.org Git - llvm/commit
[Attributor][NFC] Outline common pattern into helper method
authorJohannes Doerfert <jdoerfert@anl.gov>
Tue, 6 Aug 2019 00:55:11 +0000 (00:55 +0000)
committerJohannes Doerfert <jdoerfert@anl.gov>
Tue, 6 Aug 2019 00:55:11 +0000 (00:55 +0000)
commit8b9dae0f9d7724b26ce9e3d862827094bb0f6c8c
treea0c433629c0b5e8e699620798f097121e851090e
parent141c03a94114331a4000d95f2136cd46375c5d95
[Attributor][NFC] Outline common pattern into helper method

This helper will also allow to also place logic to determine if an
abstract attribute is necessary in the first place.

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