Chris Lattner
d689dd7659
new testcase from ghostscript that inf looped instcombine
...
llvm-svn: 28140
2006-05-06 08:58:06 +00:00
Chris Lattner
953b6c92de
New testcase
...
llvm-svn: 28125
2006-05-05 06:38:40 +00:00
Chris Lattner
058c9af16b
new testcase that crashes the instcombine pass
...
llvm-svn: 28100
2006-05-04 17:33:24 +00:00
Evan Cheng
ef2fbe7460
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).
llvm-svn: 28089
2006-05-03 20:32:03 +00:00
Evan Cheng
7e45e4d5c8
A few instruction scheduling test cases.
...
llvm-svn: 28077
2006-05-03 02:11:36 +00:00
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
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
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
Chris Lattner
b6b6409589
New testcase
...
llvm-svn: 27570
2006-04-10 22:45:37 +00:00
Evan Cheng
3fa05e3c55
Add a vselect test case.
...
llvm-svn: 27557
2006-04-10 07:30:13 +00:00
Chris Lattner
5dd268a48e
add new testcase
...
llvm-svn: 27537
2006-04-08 07:13:46 +00:00
Evan Cheng
06b01067e0
Doh!
...
llvm-svn: 27500
2006-04-07 21:52:15 +00:00
Evan Cheng
1041cdddc2
Added more shuffle tests
...
llvm-svn: 27481
2006-04-07 05:35:45 +00:00
Chris Lattner
f3f1a0f172
Add testcases for vpku[hw]um(x,x)
...
llvm-svn: 27466
2006-04-06 22:27:59 +00:00
Chris Lattner
5340c1f247
Add vmrg(x,x) tests
...
llvm-svn: 27462
2006-04-06 22:02:11 +00:00
Chris Lattner
e1efb9ea23
Add tests for vmrg[hl]*
...
llvm-svn: 27459
2006-04-06 21:19:37 +00:00
Chris Lattner
9d4b5fa2b8
test vperm promotion
...
llvm-svn: 27454
2006-04-06 19:21:02 +00:00
Chris Lattner
e547562ea3
new testcase
...
llvm-svn: 27449
2006-04-06 18:26:13 +00:00
Chris Lattner
e4a7c4ecc2
new testcase that was miscompiled to vspltisb
...
llvm-svn: 27438
2006-04-05 17:38:50 +00:00
Chris Lattner
4bdc1f01dd
new testcase
...
llvm-svn: 27435
2006-04-05 06:54:14 +00:00
Evan Cheng
74a1eae0c4
Separate out to 2 test cases
...
llvm-svn: 27430
2006-04-05 04:40:55 +00:00
Andrew Lenharth
2fb0f0fa69
make this test less exacting
...
llvm-svn: 27429
2006-04-05 03:31:45 +00:00
Evan Cheng
41d19540f2
Add a new shuffle test case that requires pshuflw / pshufhw pair.
...
llvm-svn: 27426
2006-04-05 01:44:57 +00:00
Chris Lattner
1a4d5e9b56
New testcase
...
llvm-svn: 27401
2006-04-04 17:38:31 +00:00
Chris Lattner
0e93cb9bc0
new testcase
...
llvm-svn: 27397
2006-04-04 17:20:45 +00:00
Andrew Lenharth
7d56275f4f
test powers of 2
...
llvm-svn: 27369
2006-04-03 04:14:39 +00:00
Andrew Lenharth
a6e52528c0
test some more mul by constant removal
...
llvm-svn: 27366
2006-04-03 03:16:09 +00:00
Andrew Lenharth
6aa31b3b67
Make sure mul by constant 5 is turned into a s4addq
...
llvm-svn: 27365
2006-04-02 21:47:07 +00:00
Chris Lattner
240932561d
New testcase that crashes the compiler.
...
llvm-svn: 27333
2006-04-02 00:23:59 +00:00
Chris Lattner
5d0c18c998
New testcase that caused instcombine to infinitely loop (with my recent
...
patch), distilled from Applications/JM/ldecod
llvm-svn: 27329
2006-04-01 22:04:40 +00:00
Chris Lattner
bce001c462
new testcases
...
llvm-svn: 27327
2006-04-01 08:02:51 +00:00
Chris Lattner
a8bc001cd3
new testcase for PR726
...
llvm-svn: 27325
2006-04-01 04:47:17 +00:00
Chris Lattner
fff8fbdcf4
An identity shuffle shouldn't generate any permute code.
...
llvm-svn: 27316
2006-03-31 22:16:19 +00:00
Chris Lattner
828fce9ca2
new testcase
...
llvm-svn: 27311
2006-03-31 21:53:01 +00:00
Chris Lattner
649d3c7021
Make this test harder, always check generic x86 and SSE-enabled x86.
...
llvm-svn: 27295
2006-03-31 17:59:16 +00:00
Chris Lattner
da2a24b26b
new testcase
...
llvm-svn: 27289
2006-03-31 06:01:48 +00:00
Chris Lattner
0220aa8d3c
Dag operator should be able to be template params.
...
llvm-svn: 27262
2006-03-30 22:49:59 +00:00
Chris Lattner
f56ee2961c
new testcase that crashes instcombine
...
llvm-svn: 27260
2006-03-30 22:01:08 +00:00
Evan Cheng
e96f5af925
Add a pshufhw test case.
...
llvm-svn: 27251
2006-03-29 22:51:28 +00:00
Evan Cheng
0e323f1e49
Use unpcklpd for v2f64 splat.
...
llvm-svn: 27249
2006-03-29 18:59:48 +00:00
Chris Lattner
c8eb55d37d
new testcase
...
llvm-svn: 27242
2006-03-29 00:12:08 +00:00
Chris Lattner
bd095fd427
new testcase
...
llvm-svn: 27234
2006-03-28 20:32:12 +00:00
Evan Cheng
e5ae0c50ab
Use movhpd is even better than movlhps.
...
llvm-svn: 27217
2006-03-28 06:40:57 +00:00
Jim Laskey
792c32936a
Regression test for the handling of nulls as arguments to debug intrinsics.
...
llvm-svn: 27204
2006-03-28 01:34:14 +00:00
Andrew Lenharth
d02894f466
Adding links to a node collapsed during type merging crashes.
...
llvm-svn: 27193
2006-03-27 23:38:48 +00:00
Chris Lattner
4eb9c18314
Correct the vandc testcase
...
llvm-svn: 27137
2006-03-25 23:12:47 +00:00
Chris Lattner
50e6d5cdae
new testcases
...
llvm-svn: 27134
2006-03-25 23:04:34 +00:00
Evan Cheng
842650daa7
Add a BUILD_VECTOR with unpack and interleave testcase.
...
llvm-svn: 27121
2006-03-25 09:48:14 +00:00
Chris Lattner
3ce06174c5
New tests for vsplti*
...
llvm-svn: 27105
2006-03-25 06:11:56 +00:00
Evan Cheng
892e20720f
Added a scalar to vector with zero extension testcase
...
llvm-svn: 27101
2006-03-25 05:58:52 +00:00
Chris Lattner
a9f9f0ce44
New testcase
...
llvm-svn: 27067
2006-03-24 17:57:24 +00:00
Evan Cheng
de3a1b5f94
Zero vector testcase
...
llvm-svn: 27061
2006-03-24 08:02:50 +00:00
Chris Lattner
9cc10794b1
new testcase
...
llvm-svn: 27058
2006-03-24 07:47:53 +00:00
Chris Lattner
66fc7472d8
fix two spellos
...
llvm-svn: 27050
2006-03-24 07:13:29 +00:00
Evan Cheng
17446e6261
Add a v2f64 shuffle case.
...
llvm-svn: 27038
2006-03-24 02:56:00 +00:00
Evan Cheng
a54cc613d4
Add a vector shuffle test case
...
llvm-svn: 27027
2006-03-24 01:22:25 +00:00
Reid Spencer
8f8c063f1c
Tired of wading through cvs's list ? files that are generated when building
...
with srcdir = objdir to see what's okay and what's cruft. So, in goes a
bunch of .cvsignore files to shut cvs up about known output from running
"make check".
llvm-svn: 27009
2006-03-23 23:41:57 +00:00
Chris Lattner
c447958a37
add some tests for typecasts and extract_element
...
llvm-svn: 26998
2006-03-23 21:15:57 +00:00
Evan Cheng
4dfb6044e2
Replace vector splat test case.
...
llvm-svn: 26963
2006-03-22 21:39:25 +00:00
Evan Cheng
266e00ff52
Add a v2f64 splat (using movlhps) test case.
...
llvm-svn: 26962
2006-03-22 20:29:11 +00:00
Chris Lattner
5ffc36ec45
test that vspltw is generated for test cases
...
llvm-svn: 26955
2006-03-22 19:12:46 +00:00
Chris Lattner
df3a0c94e2
Add an integer splat test
...
llvm-svn: 26923
2006-03-21 18:27:27 +00:00
Chris Lattner
b59ca7a728
new testcase
...
llvm-svn: 26906
2006-03-20 22:37:05 +00:00
Evan Cheng
26861ff2af
Option -enable-x86-lsr has been removed
...
llvm-svn: 26903
2006-03-20 18:26:11 +00:00
Chris Lattner
64752a69e2
new testcase, contributed by Eric Kidd.
...
llvm-svn: 26871
2006-03-19 19:36:32 +00:00
Chris Lattner
3cc48e95a7
add a new testcase. This insertelement should be a noop on SSE.
...
llvm-svn: 26859
2006-03-19 05:46:51 +00:00
Chris Lattner
3490c55e51
add another testcase, explicitly check stuff works with G5 and G3 codegen on
...
PPC.
llvm-svn: 26854
2006-03-19 04:45:11 +00:00
Chris Lattner
595534e8e9
add two new insert_element tests
...
llvm-svn: 26850
2006-03-19 01:27:04 +00:00
Chris Lattner
234217d62f
Add three new testcases
...
llvm-svn: 26844
2006-03-19 00:20:03 +00:00
Chris Lattner
0f6374dd9d
update testcases for x86 fastcc changes.
...
llvm-svn: 26842
2006-03-18 23:48:54 +00:00
Nate Begeman
079b67fb45
Add a missing testcase
...
llvm-svn: 26834
2006-03-17 22:39:45 +00:00
Chris Lattner
40613e6163
new testcase
...
llvm-svn: 26832
2006-03-17 20:04:40 +00:00
Evan Cheng
0517ea7b2b
Add a lsr common loop invariant hoisting test case
...
llvm-svn: 26827
2006-03-17 19:45:54 +00:00
Chris Lattner
fad5f1053f
new testcase that broke the new f.e.
...
llvm-svn: 26826
2006-03-17 18:01:17 +00:00
Chris Lattner
980763ddd2
New testcase, the new CFE compiles this into insertelement instructions, the
...
old one crashes.
llvm-svn: 26794
2006-03-16 18:47:51 +00:00
Reid Spencer
2c7c9cf597
Add a RUN: line so this test doesn't fail.
...
llvm-svn: 26790
2006-03-16 03:05:57 +00:00
Andrew Lenharth
a6f13d1228
better check
...
llvm-svn: 26780
2006-03-15 19:02:54 +00:00
Evan Cheng
3f177bef5e
Also requires -mattr=-sse3
...
llvm-svn: 26778
2006-03-15 18:05:13 +00:00
Chris Lattner
9f8f690fbb
new testcase from a FIXME in the code
...
llvm-svn: 26756
2006-03-14 08:13:09 +00:00
Chris Lattner
05065fef98
Test that we can reassociate (x<<1)+(y<<1) -> (X+Y)<<1.
...
llvm-svn: 26752
2006-03-14 06:54:32 +00:00
Jim Laskey
9e6e3262cb
Remove the use of llvm.dbg.declare.
...
llvm-svn: 26744
2006-03-14 01:53:11 +00:00