llvm-project/clang/test/CodeGen
Chris Lattner 2a7deb64c0 reimplement vector comparisons as [fi]cmp+sext instead of using v[if]cmp.
Also, enable them in sema so that they are tested, and now that the x86 backend
has stablized.

llvm-svn: 74983
2009-07-08 01:08:03 +00:00
..
2007-11-29-ArraySizeFromInitializer.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2008-02-07-bitfield-bug.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2008-02-08-bitfield-bug.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2008-02-26-inline-asm-bug.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2008-07-17-no-emit-on-error.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2008-07-21-mixed-var-fn-decl.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2008-07-22-bitfield-init-after-zero-len-array.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2008-07-22-packed-bitfield-access.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2008-07-29-override-alias-decl.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2008-07-30-implicit-initialization.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2008-07-30-redef-of-bitcasted-decl.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2008-07-31-asm-labels.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2008-07-31-promotion-of-compound-pointer-arithmetic.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2008-08-04-void-pointer-arithmetic.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2008-08-19-cast-of-typedef.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2008-08-25-incompatible-cond-expr.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2008-09-22-bad-switch-type.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2008-12-02-logical-or-fold.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2009-01-21-invalid-debug-info.m Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2009-03-22-increment-bitfield.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
2009-04-23-dbg.c Handle corner case where clang-cc is invoked directly to compile preprocessed source file without -main-file-name. In this case, CDDebugInfo is not able identify correct main source file becase SM.isFromMainFile() returns true for locations from header files as well as locations from main source file. 2009-04-23 18:09:16 +00:00
2009-05-22-callingconv.c Add a target triple to a couple of tests which depend on it. Reported 2009-06-18 02:04:19 +00:00
2009-05-28-const-typedef.c PR4281: Fix bogus CodeGen assertion. The issue is that 2009-05-28 23:04:00 +00:00
2009-06-01-addrofknr.c PR4289: Make sure "&func" has the right LLVM type when "func" is a 2009-06-01 10:04:20 +00:00
2009-06-14-anonymous-union-init.c PR4390: Make sure to handle anonymous unions correctly while building 2009-06-14 21:41:37 +00:00
2009-06-16-inc_test.c Revrt PR4228 fix for now. 2009-06-26 18:32:22 +00:00
2009-06-16-test.c Revrt PR4228 fix for now. 2009-06-26 18:32:22 +00:00
OpaqueStruct.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
PR2001-bitfield-reload.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
PR2413-void-address-cast-error.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
PR2643-null-store-to-bitfield.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
PR2743-reference-missing-static.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
PR3130-cond-constant.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
PR3589-freestanding-libcalls.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
PR3613-static-decl.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
PR3709-int-to-pointer-sign.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
PR3869-indirect-goto-long.c Fix for PR3869: actually enforce that the argument of an indirect goto 2009-03-26 00:18:06 +00:00
address-space-cast.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
address-space.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
alias.c Diagnose uses of function specifiers on declarations which don't declare 2009-04-07 19:37:57 +00:00
align-local.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
alignof.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
always_inline.c Fix PR4372, another case where non-prototyped functions can prevent 2009-06-13 00:26:38 +00:00
array.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
asm-2.c Remove the -arch option from clang-cc: for all practical purposes, it's 2009-05-19 11:12:40 +00:00
asm.c Update test 2009-05-19 16:09:59 +00:00
atomic.c Fix a use-of-undefined, IRgen expects the RValue for "void" to be a scalar RValue. 2009-05-27 23:45:33 +00:00
attr-cleanup.c When calling the cleanup function specified by __attribute__((cleanup)), make sure to bitcast the argument so it has the same type as the first argument of the cleanup function. Fixes <rdar://problem/6827047>. 2009-04-26 00:34:20 +00:00
attr-nodebug.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
attr-noinline.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
attr-used.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
attributes.c make these tests pass with the stack canary stuff even on targets where they default to on. 2009-06-28 19:49:49 +00:00
bitfield-assign.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
bitfield-init.c Fix crash with constant initialization of bit-fields in unions. 2009-05-07 23:42:42 +00:00
bitfield-promote.c Implement bit-field promotion rules for C99. Fixes PR3500. 2009-05-01 20:41:21 +00:00
bitfield.c Simplify run line. 2009-06-01 08:55:08 +00:00
blocks-1.c Fixup codegen for nested blocks that use copy/dispose in the inner 2009-04-10 18:52:28 +00:00
blocks-2.c Set DebugInfo at the beginning of GenerateBlockFunction(). 2009-04-15 21:51:44 +00:00
blocks-seq.c Fixup codegen for __block int i; i += rhs();. Should also slightly 2009-05-22 19:07:20 +00:00
blocks.c Don't assert when we think we need copy/dispose, but don't need them. 2009-05-01 01:31:57 +00:00
bool-bitfield.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
bool-convert.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
bool-init.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
boolassign.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
builtin-count-zeros.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
builtin-memfns.c Remove the -arch option from clang-cc: for all practical purposes, it's 2009-05-19 11:12:40 +00:00
builtin-nanf.c Improve __builtin_nanf support; we now can deal with them as constants. 2009-05-30 03:56:50 +00:00
builtin-rename.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
builtin-stackaddress.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
builtin-unwind-init.c Add support for __builtin_unwind_init. 2009-06-02 09:37:50 +00:00
builtinmemcpy.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
builtins-ffs_parity_popcount.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
builtins-powi.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
builtins-x86.c Remove a few more vector builtins. 2009-06-07 09:32:56 +00:00
builtins.c PR4134: Implement __builtin_extract_return_addr. 2009-05-03 19:23:23 +00:00
builtinshufflevector.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
c-strings.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
call-knr-indirect.c testcase for r72869, it turns out that it happens in Ruby. 2009-06-16 17:39:02 +00:00
cast-to-union.c PR4316: Fix IRGen for cast-to-union extension. 2009-06-03 20:45:06 +00:00
cast.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
cfstring.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
cfstring2.c remove #include of system header, making this a) not apple specific, and 2009-04-15 04:26:10 +00:00
cleanup-stack.c Make cleanup-stack.c test stronger, and work in release-asserts mode. 2009-05-11 22:30:29 +00:00
complex.c Change compound assignment operators to keep track of both the promoted 2009-03-28 01:22:36 +00:00
compound-literal.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
compound-type.c Change compound assignment operators to keep track of both the promoted 2009-03-28 01:22:36 +00:00
compound.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
conditional-gnu-ext.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
conditional.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
const-init.c Remove the -arch option from clang-cc: for all practical purposes, it's 2009-05-19 11:12:40 +00:00
const-label-addr.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
constant-comparison.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
constructor-attribute.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
cxx-condition.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
cxx-default-arg.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
cxx-value-init.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
darwin-string-literals.c Add target hook for setting symbol prefix and section of unicode 2009-04-03 00:57:44 +00:00
debug-info.c PR4143: don't crash generating debug info for incomplete enum types. 2009-05-04 04:39:55 +00:00
designated-initializers.c Fix <rdar://problem/6724396>, where we were silently dropping 2009-03-27 23:40:29 +00:00
dllimport-dllexport.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
dostmt.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
emit-all-decls.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
empty-union-init.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
enum.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
exprs.c implement l-value codegen of comma expr 2009-05-12 21:28:12 +00:00
ext-vector-shuffle.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
ext-vector.c reimplement vector comparisons as [fi]cmp+sext instead of using v[if]cmp. 2009-07-08 01:08:03 +00:00
extern-block-var.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
flexible-array-init.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
func-decl-cleanup.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
func-return-member.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
function-attributes.c When defining a function whose type has no prototype, make an effort 2009-05-05 06:16:31 +00:00
function-decay.m don't dump .ll file in this dir. 2009-04-18 07:00:06 +00:00
functions.c fix PR4423. 2009-06-23 01:38:41 +00:00
global-decls.c Remove the -arch option from clang-cc: for all practical purposes, it's 2009-05-19 11:12:40 +00:00
global-init.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
global-with-initialiser.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
globalinit.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
illegal-UTF8.m Avoid generating temp in source directory 2009-05-14 17:00:11 +00:00
incomplete-function-type.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
indirect-goto.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
init-with-member-expr.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
init.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
inline.c Improve compatibility with GCC regarding inline semantics in GNU89 2009-04-28 06:37:30 +00:00
int-to-pointer.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
kr-func-promote.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
kr-style-block.c pass -fblocks 2009-04-11 19:49:49 +00:00
libcalls.c Add a target triple to a couple of tests which depend on it. Reported 2009-06-18 02:04:19 +00:00
lineno-dbginfo.c Fix test, which could miss failures, and also avoid leaving temporary .i file in 2009-06-08 22:44:26 +00:00
linkage-redecl.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
long-double-x86.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
mandel.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
mangle.c Remove the -arch option from clang-cc: for all practical purposes, it's 2009-05-19 11:12:40 +00:00
merge-attrs.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
merge-statics.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
mmintrin-test.c Improve handling of (X86) target features. 2009-05-06 03:16:41 +00:00
no-common.c Driver: Forward -fno-common to clang. 2009-03-26 16:37:00 +00:00
offsetof.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
opaque-pointer.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
overloadable.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
parameter-passing.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
pascal-string.c Fix pascal string support; testcase from mailing list message. 2009-04-01 03:17:08 +00:00
pointer-arithmetic.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
pointer-cmp-type.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
pointer-to-int.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
private-extern.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
rdr-6098585-default-after-caserange.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
rdr-6098585-default-fallthrough-to-caserange.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
rdr-6098585-empty-case-range.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
rdr-6098585-fallthrough-to-empty-range.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
rdr-6098585-unsigned-caserange.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
rdr-6732143-dangling-block-reference.m Fix a subtle bug where the cleanup scope entries had a dangling block reference 2009-04-01 04:37:47 +00:00
regparm.c Testcase for regparm codegen 2009-04-04 00:49:38 +00:00
shared-string-literals.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
sizeof-vla.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
stack-protector.c Add stack protector support to clang. This generates the 'ssp' and 'sspreq' 2009-06-28 07:36:13 +00:00
statements.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
static-forward-decl-fun.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
static-forward-decl.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
static-local-union.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
static-order.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
staticinit.c Remove the -arch option from clang-cc: for all practical purposes, it's 2009-05-19 11:12:40 +00:00
stdcall-fastcall.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
string-init.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
string-literal.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
struct-comma.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
struct-copy.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
struct-init.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
struct-passing.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
struct-x86-darwin.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
struct.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
switch.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
target-data.c Add stack alignment to x86_64 target data. 2009-06-08 22:39:13 +00:00
tentative-decls.c Add testcase that illustrates the problem from r69699 regarding tentative definitions of statics 2009-05-01 15:45:53 +00:00
thread-specifier.c Print an error for uses of __thread on targets which don't support it. 2009-04-19 21:48:33 +00:00
trapv.c Oops, almost forgot the testcases. 2009-04-02 01:14:26 +00:00
typedef-func.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
typedef.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
types.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
uint128_t.c only support int128_t on 64-bit and larger targets. 32-bit targets don't 2009-04-30 06:18:40 +00:00
union-init.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
union.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
unwind-attr.c make these tests pass with the stack canary stuff even on targets where they default to on. 2009-06-28 19:49:49 +00:00
var-align.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
variable-array.c PR3247: Handle a couple of cases where we weren't emitting VLA sizes (and 2009-04-20 03:54:15 +00:00
vector.c PR4339: make sure to properly extend/trunc the index of a vector element 2009-06-06 19:09:26 +00:00
visibility.c Internal variables could mistakenly have "hidden" visibility when 2009-04-10 20:26:50 +00:00
vla.c Re-add a slightly more general version of the check from r72578; it is 2009-05-29 19:23:46 +00:00
volatile-1.c We don't want to validate bad code, 2009-05-29 16:24:13 +00:00
volatile.c Update comment. 2009-05-26 23:35:31 +00:00
weak-global.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
weak-incomplete.c Handle the edge case of a weak function with incomplete type correctly. 2009-05-26 01:22:57 +00:00
whilestmt.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
writable-strings.c Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
x86.c Test changes to account for removed builtins. 2009-06-06 18:15:42 +00:00
x86_32-arguments.c Fix the calling convention for structs/unions containing SSE vectors on 2009-06-13 21:37:10 +00:00
x86_64-arguments.c ABI handling: Fix nasty thinko where IRgen could generate an out-of-bounds read 2009-06-05 07:58:54 +00:00