1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
Commit Graph

2725 Commits

Author SHA1 Message Date
Reid Spencer
7e56903810 Fix gcc command line options after LLVMCore and LLVMbzip2 became archive
libraries.

llvm-svn: 28623
2006-06-01 07:19:28 +00:00
Evan Cheng
0b61a39321 Update vector extract test cases.
llvm-svn: 28580
2006-05-31 00:48:09 +00:00
Reid Spencer
556edf9b9b 1. No need to thwart this test with an environment variable. Turning it off
is the default and handled by the makefile system and runtest
2. Redirect stderr of llvm-as and llvm2cpp so that warning messages about
   instrinsics don't cause Tcl to report the run as failed.

llvm-svn: 28576
2006-05-30 23:07:17 +00:00
Evan Cheng
e61fd7c096 Added a test case for parameter passing of vector values.
llvm-svn: 28567
2006-05-30 20:37:00 +00:00
Evan Cheng
6494e07fb8 Fix the test failure on non-Darwin targets.
llvm-svn: 28566
2006-05-30 20:35:46 +00:00
Evan Cheng
27b3286714 Add a lea instruction selection test case.
llvm-svn: 28549
2006-05-30 06:53:55 +00:00
Reid Spencer
181a0cc88d Fix a bug with diffing the wrong files. Make output more readable.
llvm-svn: 28542
2006-05-29 18:09:38 +00:00
Owen Anderson
d084ef3d2e Require both tests to pass.
llvm-svn: 28531
2006-05-29 01:28:16 +00:00
Owen Anderson
288a8b2d78 Update the testcase to check the full extent of LCSSA.
llvm-svn: 28530
2006-05-29 01:07:04 +00:00
Reid Spencer
97be29a3b4 Fix a problem where dejagnu won't accept the value of global tcl variable
"libdir" for some reason. Changing to llvmlibsdir instead fixes it.

llvm-svn: 28526
2006-05-28 07:22:42 +00:00
Reid Spencer
30094a399d Provide an infrastructure for testing the llvm2cpp program (yet to be
committed). This infrastructure is only activated when RUNLLVM2CPP=1 is
specified on the make command line. Currently it is only supported in the
Feature test suite.

llvm-svn: 28525
2006-05-28 04:21:40 +00:00
Chris Lattner
2a1f1bb6d5 New testcase: check that the inliner constant folds instructions on the
fly if it can.

llvm-svn: 28515
2006-05-27 01:16:22 +00:00
Owen Anderson
4e6d8eb367 Trivial testcase that LCSSA can already handle.
llvm-svn: 28508
2006-05-26 21:59:20 +00:00
Chris Lattner
80f83ad994 New testcase for trivial DSE
llvm-svn: 28502
2006-05-26 19:18:40 +00:00
Chris Lattner
4f0be93f9b New testcase, check that the bc file correctly encodes varargs nonccc calls.
llvm-svn: 28500
2006-05-26 18:41:26 +00:00
Chris Lattner
d5dcb39d9f new testcase
llvm-svn: 28486
2006-05-25 23:23:22 +00:00
Chris Lattner
3bbd20f754 new testcases
llvm-svn: 28484
2006-05-25 22:52:49 +00:00
Chris Lattner
24762cd819 The patch corresponding to this test had to be reverted as unsafe.
llvm-svn: 28479
2006-05-25 21:25:54 +00:00
Evan Cheng
227c09e7d2 New test case. x86 isel was creating a cycle in the DAG.
llvm-svn: 28477
2006-05-25 20:21:19 +00:00
Rafael Espindola
eedf343115 create test/Regression/CodeGen/ARM/ and add a minimal test to it
llvm-svn: 28468
2006-05-25 10:49:19 +00:00
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