2621 Commits

Author SHA1 Message Date
Chris Lattner
85ba2cb9bf New testcase that crashes the new CFE.
llvm-svn: 28042
2006-05-01 23:18:55 +00:00
Chris Lattner
db3b029ab9 Intel mode no longer uses %'s on registers
llvm-svn: 28028
2006-05-01 05:56:51 +00:00
Chris Lattner
8665f8644d new testcase miscompiled by instcombine
llvm-svn: 28018
2006-04-28 22:17:20 +00:00
Chris Lattner
6b7d67bb51 testcase that crashes the ppc backend, which can't sextinreg(i1)
llvm-svn: 28016
2006-04-28 21:52:24 +00:00
Evan Cheng
ba1c03668e Update. It should use two shufps, not three!
llvm-svn: 28013
2006-04-28 18:55:34 +00:00
Chris Lattner
c251c24048 new testcase
llvm-svn: 28006
2006-04-28 04:14:29 +00:00
Evan Cheng
b44e984d41 Test case for PR748
llvm-svn: 28000
2006-04-28 01:21:37 +00:00
Chris Lattner
7fd4f0d367 This should turn into one vector shuffle instruction.
llvm-svn: 27996
2006-04-27 21:13:58 +00:00
Chris Lattner
ad7fe264bd new testcase
llvm-svn: 27986
2006-04-27 05:00:43 +00:00
Chris Lattner
24beb0433f new testcase
llvm-svn: 27981
2006-04-26 18:32:59 +00:00
Andrew Lenharth
a9f21ab75c another c99 style problem
llvm-svn: 27969
2006-04-25 19:27:56 +00:00
Evan Cheng
3f495010ed Added a movq test case.
llvm-svn: 27962
2006-04-24 23:03:22 +00:00
Evan Cheng
d0db6f1a7d Two more build_vector tests.
llvm-svn: 27944
2006-04-22 06:19:11 +00:00
Evan Cheng
27a8d019e0 movddup is a SSE3 instruction.
llvm-svn: 27932
2006-04-21 16:42:47 +00:00
Evan Cheng
19394ba09a Add && to each RUN: line (except the last one).
llvm-svn: 27927
2006-04-21 04:58:23 +00:00
Evan Cheng
b940192ce1 More build_vector tests.
llvm-svn: 27926
2006-04-21 01:22:41 +00:00
Evan Cheng
0365ba09c8 Check for llc crash.
llvm-svn: 27925
2006-04-21 01:21:23 +00:00
Evan Cheng
5cae86002c To be replaced with another test.
llvm-svn: 27924
2006-04-21 01:12:32 +00:00
Chris Lattner
a94e008bca new testcase
llvm-svn: 27911
2006-04-20 20:48:32 +00:00
Evan Cheng
ffa39ac531 Don't know what I was thinking...
llvm-svn: 27909
2006-04-20 19:47:28 +00:00
Evan Cheng
979f2ce83b Vector extract element test case.
llvm-svn: 27892
2006-04-20 17:59:30 +00:00
Evan Cheng
7576c0bc8f Vector insert test case.
llvm-svn: 27890
2006-04-20 17:50:10 +00:00
Chris Lattner
92956ffc70 allow this dir to get pruned
llvm-svn: 27889
2006-04-20 17:45:33 +00:00
Chris Lattner
8d5d62d759 Remove this target's reg tests
llvm-svn: 27888
2006-04-20 17:44:51 +00:00
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