patch to update the line number information in pass -mem2reg.
authorZhou Sheng <zhousheng00@gmail.com>
Fri, 20 Feb 2009 16:31:35 +0000 (16:31 +0000)
committerZhou Sheng <zhousheng00@gmail.com>
Fri, 20 Feb 2009 16:31:35 +0000 (16:31 +0000)
commita248c45e005248c54704f7c616ccb8b7efe191e5
treec57046184d8ec8408ce15e3b23c8e3d5e88e622f
parent4cafbb58e2c54138f05b9857db4a098a15e914ca
patch to update the line number information in pass -mem2reg.
Currently this pass will delete the variable declaration info,
and keep the line number info. But the kept line number info is not updated,
and some is redundant or not correct, this patch just updates those info.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65123 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/Mem2Reg.cpp