1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/lib
Devang Patel 34889f5bed 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
2009-03-05 18:12:02 +00:00
..
Analysis Ignore the debug info intrinsics when looking for dependency through basic block. 2009-03-05 01:45:43 +00:00
Archive Add the private linkage. 2009-01-15 20:18:42 +00:00
AsmParser Fix a pretty awesome bug that only happened in a strange case with anonymous 2009-03-01 00:53:13 +00:00
Bitcode Add suppport for ConstantExprs of shufflevectors whose result type is not equal to the 2009-02-12 21:28:33 +00:00
CodeGen (Hopefully) silence a warning. 2009-03-05 08:23:20 +00:00
CompilerDriver Reorganize llvmc code. 2009-03-02 09:01:14 +00:00
Debugger Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
ExecutionEngine switch this message back to only being in -debug mode. 2009-03-05 06:48:16 +00:00
Linker Oops. 2009-03-03 10:04:23 +00:00
Support Add missing file. 2009-03-05 09:19:13 +00:00
System Add a new 'AddSignalHandler' function to Signals.h that allows 2009-03-04 21:21:36 +00:00
Target Re-apply 66008, now that the unfoldMemoryOperand bug is fixed. 2009-03-04 19:44:21 +00:00
Transforms GlobalOpt only process non constant local GVs while optimizing global vars. 2009-03-05 18:12:02 +00:00
VMCore Fix a bunch of Doxygen syntax issues. Escape special characters, 2009-03-03 02:55:14 +00:00
Makefile Reorganize llvmc code. 2009-03-02 09:01:14 +00:00