llvm-6502/test
Chris Lattner 785672534d Extend jump threading to support much more general threading
predicates.  This allows us to jump thread things like:

_ZN12StringSwitchI5ColorE4CaseILj7EEERS1_RAT__KcRKS0_.exit119:
  %tmp1.i24166 = phi i8 [ 1, %bb5.i117 ], [ %tmp1.i24165, %_Z....exit ], [ %tmp1.i24165, %bb4.i114 ] 
  %toBoolnot.i87 = icmp eq i8 %tmp1.i24166, 0     ; <i1> [#uses=1]
  %tmp4.i90 = icmp eq i32 %tmp2.i, 6              ; <i1> [#uses=1]
  %or.cond173 = and i1 %toBoolnot.i87, %tmp4.i90  ; <i1> [#uses=1]
  br i1 %or.cond173, label %bb4.i96, label %_ZN12...

Where it is "obvious" that when coming from %bb5.i117 that the 'and' is always 
false.  This triggers a surprisingly high number of times in the testsuite, 
and gets us closer to generating good code for doug's strswitch testcase.

This also make a bunch of other code in jump threading redundant, I'll rip
out in the next patch.  This survived an enable-checking llvm-gcc bootstrap.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86264 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-06 18:15:14 +00:00
..
Analysis Revert r86077 because it caused crashes in 179.art and 175.vpr on ARM 2009-11-06 01:33:24 +00:00
Archive Merge Archive/extract* tests into one; this avoids a race when tests are run in 2009-09-08 23:44:24 +00:00
Assembler Adjust testcases for msasm -> alignstack. 2009-10-21 23:29:12 +00:00
Bindings/Ocaml Fix test/Bindings/Ocaml/vmcore.ml. When IRBuilder::CreateMalloc was removed, 2009-10-17 23:52:26 +00:00
Bitcode Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
BugPoint Use -output-prefix in bugpoint tests so that outputs go in temp directory (and 2009-09-07 19:26:18 +00:00
CodeGen Fix PR5315, original patch by Nicolas Capens! 2009-11-06 00:11:57 +00:00
DebugInfo Do not bother to emit debug info for nameless global variable. 2009-11-06 17:58:12 +00:00
ExecutionEngine Add a test for http://llvm.org/PR3043. 2009-10-05 23:51:08 +00:00
Feature add bitcode reader support for blockaddress. We can now fully 2009-10-28 05:53:48 +00:00
FrontendAda Check that accessing a struct field that occurs before the start 2009-10-22 12:53:25 +00:00
FrontendC Adjust testcases for msasm -> alignstack. 2009-10-21 23:29:12 +00:00
FrontendC++ turn IPSCCP back on by default, try #3 or 4? Woo. 2009-11-03 19:35:13 +00:00
FrontendFortran
FrontendObjC These tests now pass. 2009-10-13 20:45:18 +00:00
FrontendObjC++
Integer Eliminate some Tclisms. 2009-09-05 11:34:46 +00:00
lib tests: Add llvm_supports_binding predicate. 2009-09-13 01:41:18 +00:00
Linker When a constant's type is refined, update the constant in place 2009-09-15 15:58:07 +00:00
LLVMC Add a test for OptionPreprocessor. 2009-10-25 01:43:50 +00:00
MC Force triple in tests. 2009-10-16 16:30:02 +00:00
Other Update these tests to match what Loop::print now prints. 2009-10-24 23:52:07 +00:00
Scripts Teach macho-dump to dump UUIDs. 2009-10-24 20:32:36 +00:00
TableGen
Transforms Extend jump threading to support much more general threading 2009-11-06 18:15:14 +00:00
Unit Teach 'make check-lit' to run unittests. 2009-09-14 02:39:01 +00:00
Verifier Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
CMakeLists.txt Initial support for running LLVM tests from cmake. 2009-09-22 07:38:44 +00:00
lit.cfg Add missing substitution for %llvmgcc_only. 2009-10-30 21:13:59 +00:00
lit.site.cfg.in Generate lit.site.cfg from a .in file, as clang does. 2009-09-22 07:38:33 +00:00
Makefile Fix gmake check for AuroraUX triple. 2009-10-26 02:37:56 +00:00
Makefile.tests Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
site.exp.in Initial support for running LLVM tests from cmake. 2009-09-22 07:38:44 +00:00
TestRunner.sh