summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.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
commit709d6ac46dc04b292e53f6421ff736aabf9ea8d6 (patch)
tree92f8ba40dc8c5f6b617495d144de557bf65e255a /clang/lib/CodeGen/CodeGenModule.cpp
parentfa3d77bc2cec9175029551f9a1f95c84637054d0 (diff)
downloadbcm5719-llvm-709d6ac46dc04b292e53f6421ff736aabf9ea8d6.tar.gz
bcm5719-llvm-709d6ac46dc04b292e53f6421ff736aabf9ea8d6.zip
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 llvm-svn: 66167
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud