Update the callgraph correctly in ArgumentPromotion.
authorDuncan Sands <baldrick@free.fr>
Mon, 8 Sep 2008 11:07:35 +0000 (11:07 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 8 Sep 2008 11:07:35 +0000 (11:07 +0000)
commit34c8847b2d27433ec7b81c824b66771e7665873a
treeaf9d31831d43b3fc9041478408a3b0fcd3c9de36
parentd7b9851c4e634ed3599b1a4c70b1c76c90a11686
Update the callgraph correctly in ArgumentPromotion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55895 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/ArgumentPromotion.cpp
test/Transforms/ArgumentPromotion/2008-09-07-CGUpdate.ll [new file with mode: 0644]
test/Transforms/ArgumentPromotion/2008-09-08-CGUpdateSelfEdge.ll [new file with mode: 0644]