[Attributor][FIX] Ensure abstract attributes are existing before manifest
authorJohannes Doerfert <johannes@jdoerfert.de>
Fri, 14 Feb 2020 16:34:31 +0000 (10:34 -0600)
committerJohannes Doerfert <johannes@jdoerfert.de>
Sat, 15 Feb 2020 03:44:46 +0000 (21:44 -0600)
commitb70297a39ab9c8ad27e5681928b10073ed7db2fb
tree1bd638cf480ea969806cf0a70cb641a88a6d9ada
parentad121ea14d85ea3216048d4e956eb234899f41f7
[Attributor][FIX] Ensure abstract attributes are existing before manifest

While the function return updateImpl did only look at call sites the
manifest method looked at return values. If we don't do this during the
updateImpl we might create new abstract attributes during manifest. This
is a problem when it comes to liveness information.
llvm/lib/Transforms/IPO/Attributor.cpp
llvm/test/Transforms/Attributor/reduced/register_benchmark_test.ll [new file with mode: 0644]