Evan Cheng
4890385e8f
-sched-commute-nodes is now on by default.
...
llvm-svn: 28467
2006-05-25 08:39:25 +00:00
Chris Lattner
2f00bfb4b5
Update testcase with recent cbe change
...
llvm-svn: 28455
2006-05-24 20:52:08 +00:00
Chris Lattner
3bbd6b7656
Testcase for a new instcombine xform, patch contributed by Nick Lewycky!
...
llvm-svn: 28449
2006-05-24 17:34:02 +00:00
Chris Lattner
451da50e94
One of these xforms is only safe with unsafe math enabled.
...
llvm-svn: 28446
2006-05-24 00:49:32 +00:00
Chris Lattner
d657a1cc8e
New testcase
...
llvm-svn: 28444
2006-05-24 00:12:50 +00:00
Evan Cheng
9b5ce5e4e9
Added a test case for FP equality check.
...
llvm-svn: 28434
2006-05-23 06:41:23 +00:00
Chris Lattner
54a41cdf6f
new testcase for csretcc
...
llvm-svn: 28413
2006-05-19 22:00:54 +00:00
Chris Lattner
055ad7974b
new testcase
...
llvm-svn: 28396
2006-05-19 19:34:09 +00:00
Reid Spencer
16022f0a6a
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.
llvm-svn: 28385
2006-05-18 19:42:16 +00:00
Chris Lattner
85ad9ed15d
This test is buggy: printf is a varargs function. This fixes the test with
...
the PPC JIT
llvm-svn: 28375
2006-05-17 23:43:56 +00:00
Evan Cheng
b7d690c984
PR736 has already been fixed. Remove XFAIL marker.
...
llvm-svn: 28362
2006-05-17 20:21:44 +00:00
Evan Cheng
cbaf0e6f8e
New test case for vector type argument pass by value.
...
llvm-svn: 28361
2006-05-17 20:20:04 +00:00
Andrew Lenharth
c5ff8cf4cb
Added regression that breaks gcc4 build
...
llvm-svn: 28358
2006-05-17 19:23:31 +00:00
Chris Lattner
7c87670503
add an external symbol testcase
...
llvm-svn: 28345
2006-05-17 04:20:13 +00:00
Chris Lattner
1a730975a1
new test for various forms of calls
...
llvm-svn: 28344
2006-05-17 03:57:31 +00:00
Chris Lattner
26e1420ae9
test for support to pass/return vectors to calls.
...
llvm-svn: 28343
2006-05-17 00:18:23 +00:00
Chris Lattner
4f7dfb31f3
Another testcase that shouldn't need vrsave twiddling
...
llvm-svn: 28332
2006-05-16 18:23:55 +00:00
Chris Lattner
8de83accfe
Remove this xfail-d test, which doesn't make any sense
...
llvm-svn: 28328
2006-05-16 17:22:42 +00:00
Chris Lattner
5f2a11f1bf
New testcase for instcombine
...
llvm-svn: 28272
2006-05-13 02:00:07 +00:00
Chris Lattner
436447489d
new testcase for a recent rlwimi crash.
...
llvm-svn: 28242
2006-05-12 16:28:13 +00:00
Evan Cheng
787496ebcd
New scheduling test case.
...
llvm-svn: 28232
2006-05-12 01:59:17 +00:00
Evan Cheng
12417fb32c
Update test case
...
llvm-svn: 28216
2006-05-10 19:53:05 +00:00
Chris Lattner
f99a429a12
New testcase, check that dead code doesn't pessimize instcombine
...
llvm-svn: 28214
2006-05-10 18:56:04 +00:00
Evan Cheng
0f8516a3e0
Another instruction scheduling test case
...
llvm-svn: 28203
2006-05-09 07:20:24 +00:00
Evan Cheng
02e8d5f2d6
Test case for PR770
...
llvm-svn: 28198
2006-05-09 06:48:12 +00:00
Chris Lattner
4d8e0c2a55
new testcase
...
llvm-svn: 28173
2006-05-08 20:58:58 +00:00
Chris Lattner
0da270237b
This test passes now, remove xfail marker
...
Change test to be a positive test instead of a negative test
llvm-svn: 28159
2006-05-07 18:16:31 +00:00
Chris Lattner
3da425e496
new testcase we handle right now.
...
llvm-svn: 28147
2006-05-06 18:15:50 +00:00
Chris Lattner
1038441de5
new testcase
...
llvm-svn: 28142
2006-05-06 09:09:47 +00:00
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
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
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
Chris Lattner
eb990aaaf6
new testcase for shufflevector
...
llvm-svn: 27508
2006-04-08 01:17:42 +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
Reid Spencer
f6ff0f1ead
Add the variable llvmgccmajvers to the site.exp file. This will contain
...
the major version number of llvm-gcc, as configured.
llvm-svn: 27465
2006-04-06 22:22:08 +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
Reid Spencer
c4b5f48c7e
Ignore some files that occur when srcdir = objdir.
...
llvm-svn: 27007
2006-03-23 23:24:46 +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
Chris Lattner
7821da357e
new testcase
...
llvm-svn: 26726
2006-03-13 06:50:47 +00:00
Chris Lattner
12786a1616
Simplify this testcase
...
llvm-svn: 26699
2006-03-10 22:32:18 +00:00
Chris Lattner
9e05c75c4a
weak globals on darwin require an extra load, breaking this test
...
llvm-svn: 26695
2006-03-10 17:55:10 +00:00
Evan Cheng
bd2494add8
Add a test case for (store (op (load ..) ..) ..) folding.
...
llvm-svn: 26656
2006-03-09 19:04:30 +00:00
Chris Lattner
ebe6de6000
Update these tests (which use autoupgrade) to run constprop and check
...
that the file parses.
llvm-svn: 26655
2006-03-09 18:43:07 +00:00
Chris Lattner
3765a6b032
Automatically pass -emit-llvm to llvmgcc when using %llvmgcc
...
llvm-svn: 26623
2006-03-08 22:32:20 +00:00
Chris Lattner
1e85b36c81
Pass -emit-llvm automatically to %llvmgcc and %llvmg++ to fix regression
...
tests with the new f.e.
llvm-svn: 26622
2006-03-08 22:28:19 +00:00
Chris Lattner
54e424e259
new testcase that should have been added long ago.
...
llvm-svn: 26601
2006-03-07 22:33:00 +00:00
Chris Lattner
9e766930c7
new testcase
...
llvm-svn: 26596
2006-03-07 17:56:31 +00:00
Chris Lattner
d12bd272d3
new regression test
...
llvm-svn: 26579
2006-03-06 23:52:37 +00:00
Chris Lattner
99767c08ca
new testcase I forgot to check in earlier
...
llvm-svn: 26565
2006-03-05 23:53:04 +00:00
Chris Lattner
1acc82fcb2
new testcase for vector narrowing.
...
llvm-svn: 26537
2006-03-05 00:21:28 +00:00
Chris Lattner
69ca9936f4
new testcase
...
llvm-svn: 26534
2006-03-04 23:31:49 +00:00
Chris Lattner
1c66dfe04b
new testcase
...
llvm-svn: 26525
2006-03-04 09:35:02 +00:00
Chris Lattner
bcc0646e6a
new testcase
...
llvm-svn: 26518
2006-03-04 06:02:36 +00:00
Chris Lattner
c4f37e60bb
new testcase
...
llvm-svn: 26514
2006-03-04 02:05:07 +00:00
Chris Lattner
e10b6e1ec0
New testcase, make sure nate doesn't vanish
...
llvm-svn: 26511
2006-03-04 00:47:12 +00:00
Evan Cheng
dd0a62e4c7
Add another test case for instruction scheduling.
...
llvm-svn: 26507
2006-03-03 18:58:09 +00:00
Chris Lattner
7e618993f9
Remove these testcases. These intrinsics are going away
...
llvm-svn: 26478
2006-03-03 00:16:23 +00:00
Chris Lattner
4ba92689d0
new testcases
...
llvm-svn: 26473
2006-03-02 23:56:23 +00:00
Evan Cheng
af289a7ee4
Add a regression test for bug 478.
...
llvm-svn: 26471
2006-03-02 21:48:34 +00:00
Chris Lattner
fbb4cb0a6d
add a couple more cases
...
llvm-svn: 26468
2006-03-02 06:50:04 +00:00
Chris Lattner
807844e2ef
testcase that crashed the new CFE
...
llvm-svn: 26465
2006-03-01 22:45:12 +00:00
Chris Lattner
eaa4634493
new testcase
...
llvm-svn: 26458
2006-03-01 21:46:53 +00:00
Chris Lattner
66c4fffa4c
load (x|y) -> load (x+y) iff x and y have no common bits.
...
llvm-svn: 26449
2006-03-01 07:13:56 +00:00
Chris Lattner
f551414303
new testcase. These functions shouldn't touch the stack if stfiwx use
...
is enabled.
llvm-svn: 26446
2006-03-01 05:49:05 +00:00
Chris Lattner
b0531950b1
new testcase. There should be no accesses to the stack for these functions.
...
llvm-svn: 26444
2006-03-01 04:56:33 +00:00
Chris Lattner
d4f7c91dd7
new testcase
...
llvm-svn: 26439
2006-03-01 03:43:38 +00:00
Evan Cheng
b02cde9c1f
Add a test case for left shift by 1. We should not be using lea for this.
...
llvm-svn: 26431
2006-02-28 23:57:45 +00:00
Chris Lattner
591bae524a
new testcase
...
llvm-svn: 26426
2006-02-28 19:46:56 +00:00
Chris Lattner
bae1b3cab9
evan's recent x86 isel improvements have fixed this, though not in the way
...
originally envisioned :)
llvm-svn: 26422
2006-02-28 16:39:56 +00:00
Chris Lattner
ea47cfde74
new testcases
...
llvm-svn: 26420
2006-02-28 06:54:19 +00:00
Chris Lattner
ca2cb47ad3
new testcases for PR712
...
llvm-svn: 26414
2006-02-28 05:48:56 +00:00
Chris Lattner
8f416718b6
new testcase
...
llvm-svn: 26412
2006-02-28 05:30:48 +00:00
Chris Lattner
91dedad737
new testcases
...
llvm-svn: 26395
2006-02-27 02:36:19 +00:00
Chris Lattner
cbfdf37986
New testcases
...
llvm-svn: 26393
2006-02-27 01:43:02 +00:00
Chris Lattner
3d5e90af95
Reenable this
...
llvm-svn: 26391
2006-02-27 01:00:12 +00:00
Chris Lattner
151324f158
new testcase
...
llvm-svn: 26387
2006-02-27 00:20:23 +00:00
Chris Lattner
3ceedb4228
new testcase
...
llvm-svn: 26384
2006-02-26 19:55:30 +00:00
Evan Cheng
0b1f2f9d11
New test case: use lea for imul by some constants.
...
llvm-svn: 26378
2006-02-25 10:16:10 +00:00
Evan Cheng
cb55494fa8
lea.ll is XFAIL until we implement convertToThreeAddress.
...
llvm-svn: 26377
2006-02-25 10:15:22 +00:00
Chris Lattner
b51e6aef5d
this fails, mark it as such
...
llvm-svn: 26370
2006-02-25 08:18:43 +00:00
Evan Cheng
41154489a2
Add a test case for 'lea'.
...
llvm-svn: 26322
2006-02-23 00:12:12 +00:00
Chris Lattner
74ba4994e8
new testcase distilled from SPASS
...
llvm-svn: 26319
2006-02-22 23:54:15 +00:00
Chris Lattner
7e722ae07c
new testcase that crashes simplifycfg
...
llvm-svn: 26274
2006-02-18 00:32:44 +00:00
Nate Begeman
fff4228d3e
A few final (for now) tests
...
llvm-svn: 26267
2006-02-17 21:38:45 +00:00
Nate Begeman
9f848d4c36
Yet another test
...
llvm-svn: 26266
2006-02-17 21:32:46 +00:00
Nate Begeman
79c1e470e6
New tests!
...
llvm-svn: 26265
2006-02-17 21:22:08 +00:00
Nate Begeman
fe88578402
Fix a comment sabre noticed :)
...
llvm-svn: 26257
2006-02-17 06:24:31 +00:00
Nate Begeman
c030319b43
A couple new regression tests to make sure we always pattern match the new
...
opcodes on ppc.
llvm-svn: 26256
2006-02-17 06:16:56 +00:00
Jim Laskey
517f94f3b0
Code sufficiently protected against this test.
...
llvm-svn: 26213
2006-02-15 17:20:59 +00:00
Chris Lattner
84cf35da87
new testcase that broke unswitch due to loopsimplify not doing the right thing.
...
llvm-svn: 26190
2006-02-14 23:07:29 +00:00
Chris Lattner
7ea9303a2f
new testcase
...
llvm-svn: 26154
2006-02-13 23:07:02 +00:00
Chris Lattner
0cabe967ce
testcase reduced from Ptrdist/bc that is miscompiled by recent instcombine changes.
...
llvm-svn: 26151
2006-02-13 22:31:50 +00:00
Andrew Lenharth
e5ed262832
test for improved zap discovery
...
llvm-svn: 26147
2006-02-13 18:52:01 +00:00
Chris Lattner
6be56c0224
this passes now, due to Nate's recent efforts
...
llvm-svn: 26140
2006-02-13 07:26:36 +00:00
Chris Lattner
08a6bf6cd6
Reduce this testcase a bit more, with the help of llvm-extract and some hand tweaks
...
llvm-svn: 26139
2006-02-13 07:02:50 +00:00
Evan Cheng
d743021686
Added a test case for a libcall insertion bug.
...
llvm-svn: 26137
2006-02-12 10:24:00 +00:00
Chris Lattner
5e867a74d3
tweaks
...
llvm-svn: 26133
2006-02-12 08:01:35 +00:00
Chris Lattner
0583a337fb
new testcase
...
llvm-svn: 26130
2006-02-12 02:06:31 +00:00
Chris Lattner
76e0e3fe40
move a failing testcase from bit-tracking.ll to narrow.ll, and move the
...
xfail marker with it
llvm-svn: 26129
2006-02-12 02:02:43 +00:00
Chris Lattner
d8c54dc866
Make these tests fail if opt crashes.
...
llvm-svn: 26127
2006-02-12 01:32:58 +00:00
Chris Lattner
e6b05ffc0f
Update comments to be actually accurate
...
llvm-svn: 26124
2006-02-11 09:37:07 +00:00
Chris Lattner
5267440902
This is implemented by the simplify-libcalls pass, not instcombine
...
llvm-svn: 26123
2006-02-11 09:33:28 +00:00
Chris Lattner
1ad0bfc2f0
new testcase
...
llvm-svn: 26086
2006-02-09 07:38:30 +00:00
Chris Lattner
d033cbb057
this apparently passes on linux
...
llvm-svn: 26082
2006-02-09 07:12:13 +00:00