llvm-6502/test
Dan Gohman 43873d4f73 Use range metadata instead of introducing selects.
When GlobalOpt has determined that a GlobalVariable only ever has two values,
it would convert the GlobalVariable to a boolean, and introduce SelectInsts
at every load, to choose between the two possible values. These SelectInsts
introduce overhead and other unpleasantness.

This patch makes GlobalOpt just add range metadata to loads from such
GlobalVariables instead. This enables the same main optimization (as seen in
test/Transforms/GlobalOpt/integer-bool.ll), without introducing selects.

The main downside is that it doesn't get the memory savings of shrinking such
GlobalVariables, but this is expected to be negligible.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204076 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-17 19:57:04 +00:00
..
Analysis Reject alias to undefined symbols in the verifier. 2014-03-12 20:15:49 +00:00
Assembler Reject alias to undefined symbols in the verifier. 2014-03-12 20:15:49 +00:00
Bindings Fix the ocaml test to not create a alias to a declaration. 2014-03-12 21:20:42 +00:00
Bitcode Remove the linker_private and linker_private_weak linkages. 2014-03-13 23:18:37 +00:00
BugPoint llvm/test/BugPoint/compile-custom.ll.py: Make it py3-compatible. [PR19112] 2014-03-13 00:10:37 +00:00
CodeGen Making a guess to fix the test case with r204056 to get the build bot working. 2014-03-17 19:00:03 +00:00
DebugInfo Use a fixed subtarget for test so atom scheduling can't change the addresses this test relies on. 2014-03-15 23:01:29 +00:00
ExecutionEngine
Feature Remove the linker_private and linker_private_weak linkages. 2014-03-13 23:18:37 +00:00
FileCheck
Instrumentation AddressSanitizer instrumentation for MOV and MOVAPS. 2014-03-14 08:58:04 +00:00
Integer
JitListener
Linker Debug info: Unique types before emitting them to DWARF, where applicable. 2014-03-14 23:08:29 +00:00
LTO
MC ARM IAS: support .thumb_set 2014-03-17 17:13:54 +00:00
Object [yaml2obj][ELF] Assign name (.shstrtab) to the section holds sections names. 2014-03-14 06:53:16 +00:00
Other
TableGen
tools llvm-readobj: Print referred symbol name for CLR token definition 2014-03-17 01:46:52 +00:00
Transforms Use range metadata instead of introducing selects. 2014-03-17 19:57:04 +00:00
Unit
Verifier Reject alias to undefined symbols in the verifier. 2014-03-12 20:15:49 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg PGO: llvm-profdata: tool for merging profiles 2014-02-17 23:22:49 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh