Commit Graph

2748 Commits

Author SHA1 Message Date
Chris Lattner
82743daacf new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28396 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-19 19:34:09 +00:00
Reid Spencer
8b437e05b5 Improve error output. Use the third parameter of the "catch" command to
capture the error output from the exec option. This generally will capture
the stderr messages generated by the tools. This information is then
printed if the test fails. This helps to recognize more quickly what the
error was. Otherwise, this information is lost.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28385 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-18 19:42:16 +00:00
Chris Lattner
f0dee9b36a This test is buggy: printf is a varargs function. This fixes the test with
the PPC JIT


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28375 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-17 23:43:56 +00:00
Evan Cheng
eba0bf5aff PR736 has already been fixed. Remove XFAIL marker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28362 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-17 20:21:44 +00:00
Evan Cheng
1b6ab320bb New test case for vector type argument pass by value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28361 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-17 20:20:04 +00:00
Andrew Lenharth
1a93f1c0ea Added regression that breaks gcc4 build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28358 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-17 19:23:31 +00:00
Chris Lattner
732baf35f9 add an external symbol testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28345 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-17 04:20:13 +00:00
Chris Lattner
413100fcb5 new test for various forms of calls
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28344 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-17 03:57:31 +00:00
Chris Lattner
4e64b5b711 test for support to pass/return vectors to calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28343 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-17 00:18:23 +00:00
Chris Lattner
7c65a309ac Another testcase that shouldn't need vrsave twiddling
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28332 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-16 18:23:55 +00:00
Chris Lattner
258926aa22 Remove this xfail-d test, which doesn't make any sense
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28328 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-16 17:22:42 +00:00
Chris Lattner
5250bae5ee New testcase for instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28272 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-13 02:00:07 +00:00
Chris Lattner
83cdf40144 new testcase for a recent rlwimi crash.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28242 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-12 16:28:13 +00:00
Evan Cheng
29225b1d32 New scheduling test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28232 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-12 01:59:17 +00:00
Evan Cheng
e41ebccafd Update test case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28216 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-10 19:53:05 +00:00
Chris Lattner
99266d81a2 New testcase, check that dead code doesn't pessimize instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28214 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-10 18:56:04 +00:00
Evan Cheng
506b94f8cd Another instruction scheduling test case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28203 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-09 07:20:24 +00:00
Evan Cheng
5255b39b21 Test case for PR770
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28198 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-09 06:48:12 +00:00
Chris Lattner
9b9a3cfe54 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28173 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-08 20:58:58 +00:00
Chris Lattner
eaee5f5652 This test passes now, remove xfail marker
Change test to be a positive test instead of a negative test


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28159 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-07 18:16:31 +00:00
Chris Lattner
a0aec0a61d new testcase we handle right now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28147 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-06 18:15:50 +00:00
Chris Lattner
707f41302b new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28142 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-06 09:09:47 +00:00
Chris Lattner
985906323f new testcase from ghostscript that inf looped instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28140 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-06 08:58:06 +00:00
Chris Lattner
a0771b8020 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28125 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-05 06:38:40 +00:00
Chris Lattner
2942da747c new testcase that crashes the instcombine pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28100 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-04 17:33:24 +00:00
Evan Cheng
9e062ed516 Use movsd to shuffle in the lowest two elements of a v4f32 / v4i32 vector when
movlps cannot be used (e.g. when load from m64 has multiple uses).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28089 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-03 20:32:03 +00:00
Evan Cheng
33f9cce73a A few instruction scheduling test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28077 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-03 02:11:36 +00:00
Chris Lattner
1c174c62b8 New testcase that crashes the new CFE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28042 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-01 23:18:55 +00:00
Chris Lattner
d065c813c8 Intel mode no longer uses %'s on registers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28028 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-01 05:56:51 +00:00
Chris Lattner
c624b5a049 new testcase miscompiled by instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28018 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-28 22:17:20 +00:00
Chris Lattner
28bfa4ed06 testcase that crashes the ppc backend, which can't sextinreg(i1)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28016 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-28 21:52:24 +00:00
Evan Cheng
771f88ad1b Update. It should use two shufps, not three!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28013 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-28 18:55:34 +00:00
Chris Lattner
86175f47b6 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28006 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-28 04:14:29 +00:00
Evan Cheng
f18764f25f Test case for PR748
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28000 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-28 01:21:37 +00:00
Chris Lattner
011ec7f29c This should turn into one vector shuffle instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27996 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-27 21:13:58 +00:00
Chris Lattner
b9098653cb new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27986 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-27 05:00:43 +00:00
Chris Lattner
3e0d4b9810 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27981 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-26 18:32:59 +00:00
Andrew Lenharth
044edfe019 another c99 style problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27969 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-25 19:27:56 +00:00
Evan Cheng
fc3c17546b Added a movq test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27962 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-24 23:03:22 +00:00
Evan Cheng
ee183471a6 Two more build_vector tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27944 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-22 06:19:11 +00:00
Evan Cheng
62af9e6cfc movddup is a SSE3 instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27932 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-21 16:42:47 +00:00
Evan Cheng
22591417f5 Add && to each RUN: line (except the last one).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27927 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-21 04:58:23 +00:00
Evan Cheng
714f038e5a More build_vector tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27926 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-21 01:22:41 +00:00
Evan Cheng
884df210c7 Check for llc crash.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27925 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-21 01:21:23 +00:00
Evan Cheng
856c1c93f9 To be replaced with another test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27924 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-21 01:12:32 +00:00
Chris Lattner
bcce6c2a0f new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27911 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-20 20:48:32 +00:00
Evan Cheng
a4c3189993 Don't know what I was thinking...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27909 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-20 19:47:28 +00:00
Evan Cheng
cb095c19e8 Vector extract element test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27892 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-20 17:59:30 +00:00
Evan Cheng
f4649a501b Vector insert test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27890 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-20 17:50:10 +00:00
Chris Lattner
74a59c9532 allow this dir to get pruned
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27889 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-20 17:45:33 +00:00
Chris Lattner
cd03d21685 Remove this target's reg tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27888 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-20 17:44:51 +00:00
Chris Lattner
dc8a08ea67 Fails with all sparcs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27887 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-20 17:43:41 +00:00
Andrew Lenharth
3b9adf8864 can we cast between pointers and IntPtrType
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27879 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-20 14:54:17 +00:00
Evan Cheng
5328031c48 v16i8 splat with 2 punpcklbw and a single pshufd.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27877 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-20 09:05:16 +00:00
Evan Cheng
46d1d66009 Another shuffle test. For 4-wide shuffle, no more than 3 {p}shuf*.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27876 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-20 09:01:54 +00:00
Evan Cheng
7afbb73632 Added a test case for , e.g. xform pand <0, 0, -1, -1> to a shuffle.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27872 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-20 08:51:03 +00:00
Evan Cheng
22ad8d991c Added a movhlps, movlhps test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27871 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-20 08:47:47 +00:00
Chris Lattner
0d4603b801 New testcase for a codegen crash
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27867 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-20 05:57:43 +00:00
Chris Lattner
99590420de new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27803 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-18 17:56:30 +00:00
Chris Lattner
a637e58918 Add tests for v8i16 and v16i8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27791 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-18 03:54:50 +00:00
Chris Lattner
843ecd647c new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27787 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-18 03:22:16 +00:00
Chris Lattner
d5c654bb0a New testcase, shouldn't touch vrsave
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27776 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-17 21:48:03 +00:00
Chris Lattner
bddea0561b New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27766 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-17 20:32:27 +00:00
Chris Lattner
2f70c8cfa2 Some more cases that can be generated with two instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27759 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-17 17:54:18 +00:00
Chris Lattner
2c4e9c8a3d New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27753 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-17 06:58:16 +00:00
Chris Lattner
33f24a9b17 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27751 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-17 06:06:50 +00:00
Chris Lattner
6e5316ff65 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27749 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-17 05:58:22 +00:00
Chris Lattner
c3b5ad944c new testcase, these shuffles can be implemented with discrete instructions,
and shouldn't be lowered to vperm.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27747 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-17 05:27:31 +00:00
Evan Cheng
f0fc7fed66 Better way to splat v2f64
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27735 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-16 18:16:43 +00:00
Chris Lattner
d8f5bd3988 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27709 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-14 21:41:54 +00:00
Chris Lattner
619b2d23c9 Force a specific config, because this test fails in certain configs otherwise.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27694 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-14 06:06:51 +00:00
Chris Lattner
b04d993d72 new testcase, vector operations should be CSE'd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27690 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-14 05:09:53 +00:00
Chris Lattner
b04f706044 Remove this test, there is no need to test GCC's bugs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27689 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-14 04:47:26 +00:00
Chris Lattner
a7143ce29d My addition of the xfail marker threw off the line #. move it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27678 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 21:19:13 +00:00
Reid Spencer
db4264fee1 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 ""


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27676 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 20:33:59 +00:00
Andrew Lenharth
8cfc9c4a53 from the linux kernel
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27674 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 19:50:07 +00:00
Chris Lattner
d8c93163dd Fix this regex to match what llvmgcc4 produces also
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27673 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 19:46:16 +00:00
Chris Lattner
3afb81e8f3 Try xfailing this
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27669 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 18:15:24 +00:00
Andrew Lenharth
ab04e8c5ee fix this for the more restrictive linkage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27667 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 17:52:32 +00:00
Chris Lattner
c74757eabb These tests are now xfailed for llvmgcc4. This is PR735, unlikely to be
resolved before 1.7 :(


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27666 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 17:35:36 +00:00
Chris Lattner
021696bd7f Only look at .ll files in this directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27665 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 17:32:53 +00:00
Chris Lattner
5be639eb18 This file is an invalid C file, test that it is properly rejected
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27664 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 17:32:03 +00:00
Chris Lattner
4d4f52221b Another case where a dead cast was causing the test to spuriously
fail with the new front-end.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27663 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 17:28:28 +00:00
Chris Lattner
412a0bf58d Don't get confused by dead casts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27662 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 17:26:54 +00:00
Chris Lattner
d9498ebcc3 Fix an accidental commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27661 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 17:21:49 +00:00
Chris Lattner
d8200069fa This test fails and I don't know why, xfail it until andrew gets a chance to
look at it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27660 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 17:19:34 +00:00
Chris Lattner
166effdc23 Oops, move misplaced test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27659 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 17:18:42 +00:00
Chris Lattner
e7997ad085 These are only XFAILs with llvmgcc3, they pass with llvmgcc4
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27658 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 17:16:21 +00:00
Chris Lattner
8981f06a44 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27656 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 17:10:03 +00:00
Chris Lattner
0ad91f5160 Update a count, this test now passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27655 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 16:52:13 +00:00
Tanya Lattner
9727555859 Added the ability to xfail based on llvmgcc version
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27635 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-12 21:57:40 +00:00
Reid Spencer
67263ba611 Don't dump the llc assembly output to stdout.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27631 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-12 21:03:04 +00:00
Chris Lattner
324047847e new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27622 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-12 19:04:27 +00:00
Tanya Lattner
1c62195c98 Added llvmgcc version to allow tests to be xfailed by frontend version.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27619 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-12 18:08:25 +00:00
Chris Lattner
23405aa73d These casts should turn into gep instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27618 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-12 18:07:41 +00:00
Chris Lattner
fd4297fa0f two equivalent vsplti*s in different types should be CSEd.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27613 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-12 17:36:04 +00:00
Chris Lattner
c010c13f36 Rename this file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27611 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-12 17:01:11 +00:00
Chris Lattner
88d3c24196 Make this test more interesting by checking that the 0.0 used to implement vector fmul gets cse'd also.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27610 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-12 16:57:39 +00:00
Chris Lattner
8e7401e52f new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27608 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-12 16:49:16 +00:00
Chris Lattner
3678dbf69d new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27601 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-12 03:24:46 +00:00
Chris Lattner
0bb1681337 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27572 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-10 23:06:18 +00:00
Chris Lattner
7205684fa5 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27570 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-10 22:45:37 +00:00
Evan Cheng
a79a8e5420 Add a vselect test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27557 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-10 07:30:13 +00:00
Chris Lattner
a7cdc88799 add new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27537 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-08 07:13:46 +00:00
Chris Lattner
f40210dd26 new testcase for shufflevector
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27508 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-08 01:17:42 +00:00
Evan Cheng
9e8734595a Doh!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27500 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-07 21:52:15 +00:00
Evan Cheng
b987016469 Added more shuffle tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27481 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-07 05:35:45 +00:00
Chris Lattner
64fa7a7296 Add testcases for vpku[hw]um(x,x)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27466 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-06 22:27:59 +00:00
Reid Spencer
805ab0789a Add the variable llvmgccmajvers to the site.exp file. This will contain
the major version number of llvm-gcc, as configured.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27465 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-06 22:22:08 +00:00
Chris Lattner
cc8b1ac5cb Add vmrg(x,x) tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27462 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-06 22:02:11 +00:00
Chris Lattner
4ff8892972 Add tests for vmrg[hl]*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27459 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-06 21:19:37 +00:00
Chris Lattner
c0d2021f0a test vperm promotion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27454 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-06 19:21:02 +00:00
Chris Lattner
eb2285b7ff new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27449 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-06 18:26:13 +00:00
Chris Lattner
220c1009ff new testcase that was miscompiled to vspltisb
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27438 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-05 17:38:50 +00:00
Chris Lattner
604fb320c3 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27435 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-05 06:54:14 +00:00
Evan Cheng
b7f547eab4 Separate out to 2 test cases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27430 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-05 04:40:55 +00:00
Andrew Lenharth
34bf973cf8 make this test less exacting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27429 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-05 03:31:45 +00:00
Evan Cheng
ef4b36d386 Add a new shuffle test case that requires pshuflw / pshufhw pair.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27426 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-05 01:44:57 +00:00
Chris Lattner
cecc3ebcc8 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27401 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-04 17:38:31 +00:00
Chris Lattner
2ffc00a1d5 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27397 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-04 17:20:45 +00:00
Andrew Lenharth
87e021de4f test powers of 2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27369 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-03 04:14:39 +00:00
Andrew Lenharth
0fb79fa078 test some more mul by constant removal
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27366 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-03 03:16:09 +00:00
Andrew Lenharth
f80d2f61af Make sure mul by constant 5 is turned into a s4addq
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27365 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-02 21:47:07 +00:00
Chris Lattner
4502e13c9b New testcase that crashes the compiler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27333 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-02 00:23:59 +00:00
Chris Lattner
ff1a14aba9 New testcase that caused instcombine to infinitely loop (with my recent
patch), distilled from Applications/JM/ldecod


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27329 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-01 22:04:40 +00:00
Chris Lattner
1d4b07cfee new testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27327 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-01 08:02:51 +00:00
Chris Lattner
b076783e7d new testcase for PR726
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27325 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-01 04:47:17 +00:00
Chris Lattner
9546720484 An identity shuffle shouldn't generate any permute code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27316 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-31 22:16:19 +00:00
Chris Lattner
fd2ae97ac3 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27311 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-31 21:53:01 +00:00
Chris Lattner
bf9341493a Make this test harder, always check generic x86 and SSE-enabled x86.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27295 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-31 17:59:16 +00:00
Chris Lattner
2a8fd4aa18 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27289 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-31 06:01:48 +00:00
Chris Lattner
824b46f26f Dag operator should be able to be template params.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27262 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-30 22:49:59 +00:00
Chris Lattner
fc542a6466 new testcase that crashes instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27260 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-30 22:01:08 +00:00
Evan Cheng
75658b96bf Add a pshufhw test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27251 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-29 22:51:28 +00:00
Evan Cheng
e4086e5086 Use unpcklpd for v2f64 splat.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27249 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-29 18:59:48 +00:00
Chris Lattner
246ce96db9 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27242 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-29 00:12:08 +00:00
Chris Lattner
bfc1a79c5b new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27234 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-28 20:32:12 +00:00
Evan Cheng
ec1ab444a1 Use movhpd is even better than movlhps.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27217 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-28 06:40:57 +00:00
Jim Laskey
8156a0d224 Regression test for the handling of nulls as arguments to debug intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27204 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-28 01:34:14 +00:00
Andrew Lenharth
24cc46ef6c Adding links to a node collapsed during type merging crashes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27193 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-27 23:38:48 +00:00
Chris Lattner
606db09644 Correct the vandc testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27137 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-25 23:12:47 +00:00
Chris Lattner
39e41d6feb new testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27134 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-25 23:04:34 +00:00
Evan Cheng
6a11abca5e Add a BUILD_VECTOR with unpack and interleave testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27121 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-25 09:48:14 +00:00
Chris Lattner
b45854fff5 New tests for vsplti*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27105 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-25 06:11:56 +00:00
Evan Cheng
f09d3ce671 Added a scalar to vector with zero extension testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27101 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-25 05:58:52 +00:00
Chris Lattner
33e71b69e1 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27067 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-24 17:57:24 +00:00
Evan Cheng
8156f657b7 Zero vector testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27061 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-24 08:02:50 +00:00
Chris Lattner
937b90f998 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27058 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-24 07:47:53 +00:00
Chris Lattner
52da8845c6 fix two spellos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27050 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-24 07:13:29 +00:00
Evan Cheng
0e47c352fc Add a v2f64 shuffle case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27038 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-24 02:56:00 +00:00