llvm-mirror/test/Feature
Chandler Carruth 2bedf185c9 Manually upgrade the test suite to specify the flag to cttz and ctlz.
I followed three heuristics for deciding whether to set 'true' or
'false':

- Everything target independent got 'true' as that is the expected
  common output of the GCC builtins.
- If the target arch only has one way of implementing this operation,
  set the flag in the way that exercises the most of codegen. For most
  architectures this is also the likely path from a GCC builtin, with
  'true' being set. It will (eventually) require lowering away that
  difference, and then lowering to the architecture's operation.
- Otherwise, set the flag differently dependending on which target
  operation should be tested.

Let me know if anyone has any issue with this pattern or would like
specific tests of another form. This should allow the x86 codegen to
just iteratively improve as I teach the backend how to differentiate
between the two forms, and everything else should remain exactly the
same.

llvm-svn: 146370
2011-12-12 11:59:10 +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
callingconventions.ll Update tests to the newest EH syntax. 2011-08-25 01:30:18 +00:00
calltest.ll Update tests to the newest EH syntax. 2011-08-25 01:30:18 +00:00
casttest.ll
cfgstructures.ll
const_pv.ll Add support for vectors of pointers. 2011-12-05 06:29:09 +00:00
constexpr.ll
constpointer.ll
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
exception.ll Add feature test for the new exception handling stuff. 2011-08-25 01:19:13 +00:00
float.ll Temporary test files should use %t. 2009-09-05 12:38:26 +00:00
fold-fpcast.ll
forwardreftest.ll Remove support for parsing the "type i32" syntax for defining a numbered 2011-06-19 00:03:46 +00:00
global_pv.ll Add support for vectors of pointers. 2011-12-05 06:29:09 +00:00
global_section.ll
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
indirectcall.ll
inlineasm.ll Temporary test files should use %t. 2009-09-05 12:38:26 +00:00
instructions.ll
intrinsics.ll Manually upgrade the test suite to specify the flag to cttz and ctlz. 2011-12-12 11:59:10 +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
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
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
prototype.ll
README.txt
recursivetype.ll
simplecalltest.ll
small.ll
smallest.ll
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
testconstants.ll
testlogical.ll
testtype.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
testvarargs.ll
undefined.ll
unreachable.ll
varargs_new.ll
varargs.ll
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
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.