[Attributor] Enable tests and ensure all call sites are updated
authorJohannes Doerfert <johannes@jdoerfert.de>
Thu, 12 Jan 2023 19:07:33 +0000 (11:07 -0800)
committerJohannes Doerfert <johannes@jdoerfert.de>
Thu, 12 Jan 2023 19:18:53 +0000 (11:18 -0800)
commit39b9ea50846f8f85ac869411429a9feca439ea70
tree619d09e699533916d3960c244af2f5e0a29e7d83
parent4e7da8000e2771907609c3fe149dd4b96cfe0b08
[Attributor] Enable tests and ensure all call sites are updated

This reverts commit 9e08b083a09ef4e02fb0a4de2c0d3ddc0eccadde and ensures
signature rewriting also updates dead call sites to avoid the call graph
assertion.
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/Attributor.cpp
llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead.ll
llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll
llvm/test/Transforms/Attributor/align.ll