[Attributor][NFCI] Move MemIntrinsic handling into the initializer
authorJohannes Doerfert <johannes@jdoerfert.de>
Fri, 7 Oct 2022 18:43:23 +0000 (11:43 -0700)
committerJohannes Doerfert <johannes@jdoerfert.de>
Wed, 2 Nov 2022 03:37:53 +0000 (20:37 -0700)
commit7fdf3564c04075d3e6be2d9540e5a6f1e084be9f
tree6e7ae950e24dac3806fb94e6696daf0c62067ae3
parentf89deef13ef4f2e9a89011e4882c48c6c6354d30
[Attributor][NFCI] Move MemIntrinsic handling into the initializer

The handling for MemIntrinsic is not dependent on optimistic
information, no need to put it in update for now. Added a TODO though.
llvm/lib/Transforms/IPO/AttributorAttributes.cpp