Re-apply fixed "[Attributor] Fix: Make sure we set the changed flag"
authorJohannes Doerfert <jdoerfert@anl.gov>
Mon, 19 Aug 2019 19:14:10 +0000 (19:14 +0000)
committerJohannes Doerfert <jdoerfert@anl.gov>
Mon, 19 Aug 2019 19:14:10 +0000 (19:14 +0000)
commit056f1b5cc7c2133f0cb3e30e7f24808d321096d7
tree5fae5d18a7d77319bfe26ae111f5c86a0d031e26
parent0f4e9835c98ae68d53ebd05ac40ada41ddae68aa
Re-apply fixed "[Attributor] Fix: Make sure we set the changed flag"

This reverts commit cedd0d9a6e4b433e1cd6585d1d4d152eb5e60b11.

Re-apply the original commit but make sure the variables are initialized
(even if they are not used) so UBSan is not complaining.

llvm-svn: 369294
llvm/lib/Transforms/IPO/Attributor.cpp