Fix Transforms/DeadArgElim/2007-02-07-FuncRename.ll, fallout from PR411.
authorChris Lattner <sabre@nondot.org>
Wed, 7 Feb 2007 19:31:33 +0000 (19:31 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 7 Feb 2007 19:31:33 +0000 (19:31 +0000)
commit3cfc1d22b2ed48834fefadc629c5841972763dfd
treee3d2749f1ac908903226bec42f9979e31449fcd2
parent566dd149aef94f889f85272c9e8c898c51d6f198
Fix Transforms/DeadArgElim/2007-02-07-FuncRename.ll, fallout from PR411.
This happened because deadargelim now causes VMCore to auto-rename every
function that it hacks arguments out of.  Because it hacks arguments out of
functions in a non-deterministic order, this caused the resultant numbering
to be nondet.  The fix is to just be careful to not rename functions!

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