llvm-mirror/test/Feature
Chris Lattner a106725fc5 Land the long talked about "type system rewrite" patch. This
patch brings numerous advantages to LLVM.  One way to look at it
is through diffstat:
 109 files changed, 3005 insertions(+), 5906 deletions(-)

Removing almost 3K lines of code is a good thing.  Other advantages
include:

1. Value::getType() is a simple load that can be CSE'd, not a mutating
   union-find operation.
2. Types a uniqued and never move once created, defining away PATypeHolder.
3. Structs can be "named" now, and their name is part of the identity that
   uniques them.  This means that the compiler doesn't merge them structurally
   which makes the IR much less confusing.
4. Now that there is no way to get a cycle in a type graph without a named
   struct type, "upreferences" go away.
5. Type refinement is completely gone, which should make LTO much MUCH faster
   in some common cases with C++ code.
6. Types are now generally immutable, so we can use "Type *" instead 
   "const Type *" everywhere.

Downsides of this patch are that it removes some functions from the C API,
so people using those will have to upgrade to (not yet added) new API.  
"LLVM 3.0" is the right time to do this.

There are still some cleanups pending after this, this patch is large enough
as-is.

llvm-svn: 134829
2011-07-09 17:41:24 +00:00
..
aliases.ll Support chained aliases for LLVM IR printing. This fixes PR2145 2008-03-22 08:17:17 +00:00
alignment.ll manually upgrade a bunch of tests to modern syntax, and remove some that 2011-06-17 03:14:27 +00:00
basictest.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
callingconventions.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
calltest.ll make the asmparser reject function and type redefinitions. 'Merging' hasn't been 2011-06-17 07:06:44 +00:00
casttest.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
cfgstructures.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
constexpr.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
constpointer.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
dg.exp sabre brings to my attention that the 'tr' suffix is also obsolete 2008-05-20 21:00:03 +00:00
escaped_label.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
float.ll Temporary test files should use %t. 2009-09-05 12:38:26 +00:00
fold-fpcast.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
forwardreftest.ll Remove support for parsing the "type i32" syntax for defining a numbered 2011-06-19 00:03:46 +00:00
global_section.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
globalredefinition3.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
globalvars.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
indirectcall2.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
indirectcall.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
inlineasm.ll Temporary test files should use %t. 2009-09-05 12:38:26 +00:00
instructions.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
intrinsics.ll Upgrade these tests for the current intrinsic prototypes. 2008-04-14 18:19:18 +00:00
linker_private_linkages.ll Create the new linker type "linker_private_weak_def_auto". 2010-08-20 22:05:50 +00:00
llvm2cpp.exp Remove lingering references to .llx and .tr in the tests. 2008-05-23 21:15:35 +00:00
load_module.ll test: Check the feature 'loadable_module' with load modules in %llvmshlibdir. 2010-11-29 07:58:32 +00:00
md_on_instruction.ll eliminate md_on_instruction.ll, md_on_instruction2.ll is a superset of it. 2009-10-19 05:34:14 +00:00
memorymarkers.ll Add new "memory use marker" intrinsics. These indicate lifetimes and invariant 2009-10-13 07:03:23 +00:00
metadata.ll Extend function-local metadata to be usable as attachments. 2010-08-24 02:24:03 +00:00
NamedMDNode2.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
NamedMDNode.ll Disallow null as a named metadata operand. 2010-07-21 18:54:18 +00:00
newcasts.ll Add support for vectors to int <-> float casts. 2007-11-17 03:58:34 +00:00
packed_struct.ll Fix some escaping and quoting in RUN lines, mainly involving { and <. In two 2008-06-10 16:04:47 +00:00
packed.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
paramattrs.ll Stop accepting and ignoring attributes in function types. Attributes are applied 2011-06-17 17:37:13 +00:00
ppcld.ll Split the Add, Sub, and Mul instruction opcodes into separate 2009-06-04 22:49:04 +00:00
properties.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
prototype.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
README.txt
recursivetype.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
simplecalltest.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
small.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
smallest.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
sparcld.ll Split the Add, Sub, and Mul instruction opcodes into separate 2009-06-04 22:49:04 +00:00
terminators.ll add bitcode reader support for blockaddress. We can now fully 2009-10-28 05:53:48 +00:00
testalloca.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
testconstants.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
testlogical.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
testtype.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
testvarargs.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
undefined.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
unreachable.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
varargs_new.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
varargs.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
vector-cast-constant-exprs.ll Support vector casts in more places, fixing a variety of assertion 2009-06-15 22:12:54 +00:00
weak_constant.ll Remove support for parsing the "type i32" syntax for defining a numbered 2011-06-19 00:03:46 +00:00
weirdnames.ll Remove llvm-upgrade and update tests. 2008-03-01 07:38:40 +00:00
x86ld.ll Split the Add, Sub, and Mul instruction opcodes into separate 2009-06-04 22:49:04 +00:00

This directory contains test cases for individual source features of LLVM.
It is designed to make sure that the major components of LLVM support all of the
features of LLVM, for very small examples.  Entire programs should not go here.

Regression tests for individual bug fixes should go into the test/Regression dir.