llvm-project/llvm/lib
James Molloy eb040cc55f [GlobalOpt] Allow constant globals to be SRA'd
The current logic assumes that any constant global will never be SRA'd. I presume this is because normally constant globals can be pushed into their uses and deleted. However, that sometimes can't happen (which is where you really want SRA, so the elements that can be eliminated, are!).

There seems to be no reason why we can't SRA constants too, so let's do it.

llvm-svn: 267393
2016-04-25 10:48:29 +00:00
..
Analysis [SCEV] Improve the run-time checking of the NoWrap predicate 2016-04-25 09:27:16 +00:00
AsmParser IR: Enable debug info type ODR uniquing for forward decls 2016-04-19 18:00:19 +00:00
Bitcode BitcodeReader: Delay metadata parsing until reading a function body 2016-04-24 15:04:28 +00:00
CodeGen [MachineCombiner] Support for floating-point FMA on ARM64 (re-commit r267098) 2016-04-24 05:14:01 +00:00
DebugInfo llvm-symbolizer: Avoid infinite recursion walking dwos where the dwo contains a dwo_name attribute 2016-04-22 22:50:56 +00:00
ExecutionEngine [RuntimeDyldELF] Handle GOTPCRELX/REX_GOTPCRELX. 2016-04-24 01:36:37 +00:00
Fuzzer [libFuzzer] added -detect_leaks flag (0 by default for now). When enabled, it will help finding leaks while fuzzing 2016-04-20 00:24:21 +00:00
IR Verifier: Verify that each inlinable callsite of a debug-info-bearing function 2016-04-24 22:23:13 +00:00
IRReader Remove autoconf support 2016-01-26 21:29:08 +00:00
LTO [ThinLTO] Remove GlobalValueInfo class from index 2016-04-24 14:57:11 +00:00
LibDriver LibDriver: Silently do nothing when provided no inputs. 2016-04-13 19:36:04 +00:00
LineEditor Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. 2016-03-28 17:40:08 +00:00
Linker Fix recursive -only-needed. 2016-04-21 14:56:33 +00:00
MC Update discriminator assignment algorithm in clang assembler. 2016-04-22 21:31:18 +00:00
Object MachO: remove weird ARM/Thumb interface from MachOObjectFile 2016-04-22 23:21:13 +00:00
ObjectYAML [lanai] Add Lanai backend. 2016-03-28 13:09:54 +00:00
Option Option parser: class for consuming a joined arg in addition to all remaining args 2016-04-15 00:23:30 +00:00
Passes PM: Port SinkingPass to the new pass manager 2016-04-22 19:54:10 +00:00
ProfileData [Coverage] Restore the correct count value after processing a nested region in case of combined regions. 2016-04-25 09:43:37 +00:00
Support CachePruning: early exit if no path supplied 2016-04-21 06:43:45 +00:00
TableGen [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
Target [PowerPC] [PR27387] Disallow r0 for ADD8TLS. 2016-04-25 09:24:34 +00:00
Transforms [GlobalOpt] Allow constant globals to be SRA'd 2016-04-25 10:48:29 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
LLVMBuild.txt Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00