llvm-6502/test
Benjamin Kramer 98d6d2372f SimplifyCFG: If we have a PHI node that can evaluate to NULL and do a load or store to the address returned by the PHI node then we can consider this incoming value as dead and remove the edge pointing there, unless there are instructions that can affect control flow executed in between.
In theory this could be extended to other instructions, eg. division by zero, but it's likely that it will "miscompile" some code because people depend on div by zero not trapping. NULL pointer dereference usually leads to a crash so we should be on the safe side.

This shrinks the size of a Release clang by 16k on x86_64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138618 91177308-0d34-0410-b5e6-96231b3b80d8
2011-08-26 01:22:29 +00:00
..
Analysis Move the loads after the calls so that the fix for 2011-07-09 23:53:58 +00:00
Archive Avoid writing to an arbitrary filename during the test run by writing to 2011-07-02 20:43:18 +00:00
Assembler Update to the new EH scheme. 2011-08-25 23:48:37 +00:00
Bindings/Ocaml Remove the build_unwind function from the OCaml bindings. 2011-08-10 01:10:17 +00:00
Bitcode Remove support for parsing the "type i32" syntax for defining a numbered 2011-06-19 00:03:46 +00:00
BugPoint
CodeGen Update to the new EH scheme. 2011-08-25 23:48:37 +00:00
DebugInfo Do not use named md nodes to track variables that are completely optimized. This does not scale while doing LTO with debug info. New approach is to include list of variables in the subprogram info directly. 2011-08-19 23:28:12 +00:00
ExecutionEngine manually upgrade a bunch of tests to modern syntax, and remove some that 2011-06-17 03:14:27 +00:00
Feature Update tests to the newest EH syntax. 2011-08-25 01:30:18 +00:00
Integer Remove support for parsing the "type i32" syntax for defining a numbered 2011-06-19 00:03:46 +00:00
lib
Linker Testcase for PR10663. 2011-08-22 10:32:09 +00:00
LLVMC
MC Port over additional encoding tests to decoding tests, and fix an operand ordering bug this exposed. 2011-08-25 18:30:18 +00:00
Object
Other Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
Scripts Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
TableGen Teach TableGen to evaluate DAG expressions as set operations. 2011-06-04 04:11:37 +00:00
Transforms SimplifyCFG: If we have a PHI node that can evaluate to NULL and do a load or store to the address returned by the PHI node then we can consider this incoming value as dead and remove the edge pointing there, unless there are instructions that can affect control flow executed in between. 2011-08-26 01:22:29 +00:00
Unit test/Unit: Fix enable shared test to follow check that we have actually loaded 2011-06-22 20:41:53 +00:00
Verifier Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
CMakeLists.txt Fix a CMake warning, following up to r134008. 2011-06-28 21:46:21 +00:00
lit.cfg lit support for REQUIRES: asserts. 2011-06-22 23:23:19 +00:00
lit.site.cfg.in cmake+lit: handle ENABLE_ASSERTIONS feature properly. 2011-06-23 17:52:36 +00:00
Makefile cmake+lit: handle ENABLE_ASSERTIONS feature properly. 2011-06-23 17:52:36 +00:00
Makefile.tests
site.exp.in
TestRunner.sh