[Attributor][FIX] Try to prevent a potential memory leak
authorJohannes Doerfert <johannes@jdoerfert.de>
Wed, 14 Dec 2022 16:40:17 +0000 (08:40 -0800)
committerJohannes Doerfert <johannes@jdoerfert.de>
Wed, 14 Dec 2022 16:42:21 +0000 (08:42 -0800)
commit2ac37df5d7f385dbf9c9456aae1cc6d0d98587ef
treee702a7c76b36895352ae94687e025d262afc4032
parente84d1879e51f543d2cdeaca3b4ae7786ea3f19b5
[Attributor][FIX] Try to prevent a potential memory leak

We might not have registered an AA allocated via the bump allocator
and consequently not deallocated it properly.
llvm/include/llvm/Transforms/IPO/Attributor.h