aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/SimplifyCFG.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-03-05 18:12:02 +0000
committerDevang Patel <dpatel@apple.com>2009-03-05 18:12:02 +0000
commit504960067233f271884c23869e81272918ad2883 (patch)
tree7c72cecfbc4604ab73f4ba15489530102a4078d5 /lib/Transforms/Utils/SimplifyCFG.cpp
parent30a31ebf7ffa369e4b5636730a3ecfaa51e7e1f8 (diff)
GlobalOpt only process non constant local GVs while optimizing global vars.
If non constant local GV named A is used by a constant local GV named B (e.g. llvm.dbg.variable) and B is not used by anyone else then eliminate A as well as B. In other words, debug info should not interfere in removal of unused GV. --This life, and those below, will be ignored-- M test/Transforms/GlobalOpt/2009-03-03-dbg.ll M lib/Transforms/IPO/GlobalOpt.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66167 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions