Explicitely track if any arguments or return values were removed in
authorMatthijs Kooijman <matthijs@stdin.nl>
Fri, 20 Jun 2008 14:28:52 +0000 (14:28 +0000)
committerMatthijs Kooijman <matthijs@stdin.nl>
Fri, 20 Jun 2008 14:28:52 +0000 (14:28 +0000)
commit9cb6ec26b3041ff4879579fd9ecee48b616154d8
tree2ecedd3e0cd1174bf09b8b15fb3fa68ae342de56
parent1b492b2f8d2999b1cbc4aaf48874b091e81796a0
Explicitely track if any arguments or return values were removed in
DeadArgumentElimination and assert that the function type does not change if
nothing was changed. This should catch subtle changes in function type that are
not intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52536 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/DeadArgumentElimination.cpp