[Attributor][NFC] Make `createShallowWrapper()` available outside of Attributor
authorsstefan1 <sstipanovic@s-energize.com>
Tue, 13 Oct 2020 21:01:20 +0000 (23:01 +0200)
committersstefan1 <sstipanovic@s-energize.com>
Wed, 14 Oct 2020 08:08:59 +0000 (10:08 +0200)
commitce16be253c4d772c072325df5776b5324c2c90c1
treeac5ea3397791f984cf48ba9856dc46cdee43adb6
parent27c691cf62a9b34789516a24233fa0ee7bbd8111
[Attributor][NFC] Make `createShallowWrapper()` available outside of Attributor

D85703 will need to create shallow wrappers in order to track the spmd icv. We need to make it available.

Differential Revision: https://reviews.llvm.org/D89342
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/Attributor.cpp