llvm-6502/test
Dan Gohman 2276a7bc8e Teach instcombine's visitLoad to scan back several instructions
to find opportunities for store-to-load forwarding or load CSE,
in the same way that visitStore scans back to do DSE. Also, define
a new helper function for testing whether the addresses of two
memory accesses are known to have the same value, and use it in
both visitStore and visitLoad.

These two changes allow instcombine to eliminate loads in code
produced by front-ends that frequently emit obviously redundant
addressing for memory references.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57608 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-15 23:19:35 +00:00
..
Analysis Rationalize the names of passes that print information: 2008-09-23 12:47:39 +00:00
Archive
Assembler Fix the .ll grammar rules to allow any type before an 'i32', not just an 2008-10-15 06:16:45 +00:00
Bindings/Ocaml PR2731: C and Ocaml bindings for setTailCall and isTailCall. 2008-08-30 16:34:54 +00:00
Bitcode
BugPoint
CodeGen Testcase for PR1638. 2008-10-15 18:27:15 +00:00
DebugInfo
ExecutionEngine
Feature Put CPPBackend tests into their own directory and run them only if they're 2008-07-10 22:35:32 +00:00
FrontendAda Teach constant folding that an inttoptr of a 2008-08-13 20:20:35 +00:00
FrontendC new testcase for PR2797 2008-10-14 06:56:04 +00:00
FrontendC++
FrontendFortran
FrontendObjC fix filetype suffix 2008-10-07 06:41:02 +00:00
FrontendObjC++ This is an objective-c test, not an objective-c++ one. 2008-10-06 18:42:48 +00:00
Integer
lib add support for running the test suite with valgrind. to run it just type 'make VG=1', as in clang 2008-10-07 14:48:14 +00:00
Linker Add global variable to test for consistency 2008-10-15 20:22:44 +00:00
LLVMC Renaming LLVMC/dg.exp to LLVM/llvmc.exp 2008-08-14 23:37:58 +00:00
Other Testcase for PR2894. 2008-10-15 22:34:34 +00:00
Scripts
TableGen
Transforms Teach instcombine's visitLoad to scan back several instructions 2008-10-15 23:19:35 +00:00
Verifier Diagnose uses of unsized types with the byval attribute in the 2008-08-27 14:48:06 +00:00
Makefile add support for running the test suite with valgrind. to run it just type 'make VG=1', as in clang 2008-10-07 14:48:14 +00:00
Makefile.tests
TestRunner.sh Fix a bashism in TestRunner.sh. 2008-07-28 18:41:03 +00:00