Commit Graph

2597 Commits

Author SHA1 Message Date
Chris Lattner
8559c20194 Fails with all sparcs
llvm-svn: 27887
2006-04-20 17:43:41 +00:00
Andrew Lenharth
a9851de72e can we cast between pointers and IntPtrType
llvm-svn: 27879
2006-04-20 14:54:17 +00:00
Evan Cheng
b1b845b408 v16i8 splat with 2 punpcklbw and a single pshufd.
llvm-svn: 27877
2006-04-20 09:05:16 +00:00
Evan Cheng
c78a17f26f Another shuffle test. For 4-wide shuffle, no more than 3 {p}shuf*.
llvm-svn: 27876
2006-04-20 09:01:54 +00:00
Evan Cheng
9ea64ab2bc Added a test case for , e.g. xform pand <0, 0, -1, -1> to a shuffle.
llvm-svn: 27872
2006-04-20 08:51:03 +00:00
Evan Cheng
cd5bc4b2eb Added a movhlps, movlhps test case.
llvm-svn: 27871
2006-04-20 08:47:47 +00:00
Chris Lattner
f0c4339139 New testcase for a codegen crash
llvm-svn: 27867
2006-04-20 05:57:43 +00:00
Chris Lattner
43ef757c0e new testcase
llvm-svn: 27803
2006-04-18 17:56:30 +00:00
Chris Lattner
fd1fb64f66 Add tests for v8i16 and v16i8
llvm-svn: 27791
2006-04-18 03:54:50 +00:00
Chris Lattner
ab9ad1cdc1 new testcase
llvm-svn: 27787
2006-04-18 03:22:16 +00:00
Chris Lattner
c22e565b1b New testcase, shouldn't touch vrsave
llvm-svn: 27776
2006-04-17 21:48:03 +00:00
Chris Lattner
ceb52c4403 New testcase
llvm-svn: 27766
2006-04-17 20:32:27 +00:00
Chris Lattner
af62fa8b51 Some more cases that can be generated with two instructions
llvm-svn: 27759
2006-04-17 17:54:18 +00:00
Chris Lattner
f0fc91e4d7 New testcases
llvm-svn: 27753
2006-04-17 06:58:16 +00:00
Chris Lattner
fb4fb42e54 new testcase
llvm-svn: 27751
2006-04-17 06:06:50 +00:00
Chris Lattner
78ab345316 New testcase
llvm-svn: 27749
2006-04-17 05:58:22 +00:00
Chris Lattner
dc4f42f75d new testcase, these shuffles can be implemented with discrete instructions,
and shouldn't be lowered to vperm.

llvm-svn: 27747
2006-04-17 05:27:31 +00:00
Evan Cheng
087af2ecda Better way to splat v2f64
llvm-svn: 27735
2006-04-16 18:16:43 +00:00
Chris Lattner
dc53296ea1 New testcase, checking to see we can turn this code:
void test(vector float *F, float f) {
  vector float G = *F + *F;
  *((float*)&G) = f;
  *F = G + G;
}

void test2(vector float *F, float f) {
  vector float G = *F + *F;
  ((float*)&G)[2] = f;
  *F = G + G;
}

void test3(vector float *F, float *f) {
  vector float G = *F + *F;
  *f = ((float*)&G)[2];
}

void test4(vector float *F, float *f) {
  vector float G = *F + *F;
  *f = *((float*)&G);
}

into insert/extract element operations with no memory traffic.

llvm-svn: 27709
2006-04-14 21:41:54 +00:00
Chris Lattner
043ed1eefa Force a specific config, because this test fails in certain configs otherwise.
llvm-svn: 27694
2006-04-14 06:06:51 +00:00
Chris Lattner
dbe00bf8d7 new testcase, vector operations should be CSE'd
llvm-svn: 27690
2006-04-14 05:09:53 +00:00
Chris Lattner
5eb63e14c3 Remove this test, there is no need to test GCC's bugs
llvm-svn: 27689
2006-04-14 04:47:26 +00:00
Chris Lattner
a8a5fea940 My addition of the xfail marker threw off the line #. move it.
llvm-svn: 27678
2006-04-13 21:19:13 +00:00
Reid Spencer
6794b8e049 Use quotes properly so that the possibility of a null variable set is
eliminated. This can happen, for example, if LLVM is configured without
llvm-gcc in which case things like LLVMGCC_VERSION will be empty. In
such cases, deja-gnu fails with:
can't read "llvmgcc_version": no such variable
because it sees:
set llvmgcc_version
instead of:
set llvmgcc_version ""

llvm-svn: 27676
2006-04-13 20:33:59 +00:00
Andrew Lenharth
7f45a6639b from the linux kernel
llvm-svn: 27674
2006-04-13 19:50:07 +00:00
Chris Lattner
2763672aca Fix this regex to match what llvmgcc4 produces also
llvm-svn: 27673
2006-04-13 19:46:16 +00:00
Chris Lattner
69bc609781 Try xfailing this
llvm-svn: 27669
2006-04-13 18:15:24 +00:00
Andrew Lenharth
fe51509b60 fix this for the more restrictive linkage
llvm-svn: 27667
2006-04-13 17:52:32 +00:00
Chris Lattner
908de0d45f These tests are now xfailed for llvmgcc4. This is PR735, unlikely to be
resolved before 1.7 :(

llvm-svn: 27666
2006-04-13 17:35:36 +00:00
Chris Lattner
87d369960c Only look at .ll files in this directory
llvm-svn: 27665
2006-04-13 17:32:53 +00:00
Chris Lattner
eec81793f9 This file is an invalid C file, test that it is properly rejected
llvm-svn: 27664
2006-04-13 17:32:03 +00:00
Chris Lattner
93829fa037 Another case where a dead cast was causing the test to spuriously
fail with the new front-end.

llvm-svn: 27663
2006-04-13 17:28:28 +00:00
Chris Lattner
82586d100d Don't get confused by dead casts.
llvm-svn: 27662
2006-04-13 17:26:54 +00:00
Chris Lattner
0c06377b9c Fix an accidental commit.
llvm-svn: 27661
2006-04-13 17:21:49 +00:00
Chris Lattner
6cddb81c90 This test fails and I don't know why, xfail it until andrew gets a chance to
look at it.

llvm-svn: 27660
2006-04-13 17:19:34 +00:00
Chris Lattner
1b60100f18 Oops, move misplaced test
llvm-svn: 27659
2006-04-13 17:18:42 +00:00
Chris Lattner
f2663af875 These are only XFAILs with llvmgcc3, they pass with llvmgcc4
llvm-svn: 27658
2006-04-13 17:16:21 +00:00
Chris Lattner
2c017add7e Add a run with an unusual target triple, revert the patch that sent output to
dev null as it broke the test and doesn't add anything.

llvm-svn: 27656
2006-04-13 17:10:03 +00:00
Chris Lattner
84304b7661 Update a count, this test now passes.
llvm-svn: 27655
2006-04-13 16:52:13 +00:00
Tanya Lattner
9cd1518d42 Added the ability to xfail based on llvmgcc version
llvm-svn: 27635
2006-04-12 21:57:40 +00:00
Reid Spencer
a1e3495326 Don't dump the llc assembly output to stdout.
llvm-svn: 27631
2006-04-12 21:03:04 +00:00
Chris Lattner
d81cef2175 new testcase
llvm-svn: 27622
2006-04-12 19:04:27 +00:00
Tanya Lattner
ace568086f Added llvmgcc version to allow tests to be xfailed by frontend version.
llvm-svn: 27619
2006-04-12 18:08:25 +00:00
Chris Lattner
0dd4945141 These casts should turn into gep instructions
llvm-svn: 27618
2006-04-12 18:07:41 +00:00
Chris Lattner
67bcbca856 two equivalent vsplti*s in different types should be CSEd.
llvm-svn: 27613
2006-04-12 17:36:04 +00:00
Chris Lattner
3941d5991f Rename this file
llvm-svn: 27611
2006-04-12 17:01:11 +00:00
Chris Lattner
259e49f05f Make this test more interesting by checking that the 0.0 used to implement vector fmul gets cse'd also.
llvm-svn: 27610
2006-04-12 16:57:39 +00:00
Chris Lattner
c1af264854 new testcase
llvm-svn: 27608
2006-04-12 16:49:16 +00:00
Chris Lattner
160aece6a1 new testcase
llvm-svn: 27601
2006-04-12 03:24:46 +00:00
Chris Lattner
3410f3ce09 new testcase
llvm-svn: 27572
2006-04-10 23:06:18 +00:00