OSDN Git Service

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)
commit149adaf590fb7e58a5a5ac457c4ab52a3a5121fc
treec57046184d8ec8408ce15e3b23c8e3d5e88e622f
parent83ecf4f7e96d2e76b8e135a06176054ec8575483
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