llvm/test/Feature
Dan Gohman 6de29f8d96 Support vector casts in more places, fixing a variety of assertion
failures.

To support this, add some utility functions to Type to help support
vector/scalar-independent code. Change ConstantInt::get and
ConstantFP::get to support vector types, and add an overload to
ConstantInt::get that uses a static IntegerType type, for
convenience.

Introduce a new getConstant method for ScalarEvolution, to simplify
common use cases.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73431 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-15 22:12:54 +00:00
..
aliases.ll
alignment.ll
basictest.ll
callingconventions.ll
calltest.ll
casttest.ll
cfgstructures.ll
constexpr.ll
constpointer.ll
dg.exp
embeddedmetadata.ll Give embedded metadata its own type instead of relying on EmptyStructTy. 2009-05-30 05:06:04 +00:00
escaped_label.ll
float.ll
fold-fpcast.ll
forwardreftest.ll
global_section.ll
globalredefinition3.ll Reimplement the old and horrible bison parser for .ll files with a nice 2009-01-02 07:01:27 +00:00
globalredefinition.ll
globalvars.ll
indirectcall2.ll
indirectcall.ll
inlineasm.ll
instructions.ll
intrinsics.ll
llvm2cpp.exp
load_module.ll
newcasts.ll
noalias-ret.ll Extend the 'noalias' attribute to function return values. This is intended to 2008-11-24 03:41:24 +00:00
opaquetypes.ll Reimplement the old and horrible bison parser for .ll files with a nice 2009-01-02 07:01:27 +00:00
packed_struct.ll
packed.ll
paramattrs.ll
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
testalloca.ll
testconstants.ll
testlogical.ll
testmemory.ll
testswitch.ll
testtype.ll add testcase for type parsing. 2008-12-27 08:10:46 +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 Don't load values out of global constants with weak 2009-03-20 21:53:29 +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.