llvm/lib/Transforms
Devang Patel 5049600672 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
2009-03-05 18:12:02 +00:00
..
Hello Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Instrumentation Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
IPO GlobalOpt only process non constant local GVs while optimizing global vars. 2009-03-05 18:12:02 +00:00
Scalar Do not split edges to EH landing pads. It will cause code size explosion. 2009-03-05 06:31:26 +00:00
Utils Revert unintended commmit. 2009-03-04 02:09:48 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00