Commit Graph

713 Commits

Author SHA1 Message Date
Evan Cheng
b1ed76a04f Update.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29092 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-10 21:49:09 +00:00
Chris Lattner
5895a13755 New testcase for folding bswaps into i16/i32 loads and stores.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29088 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-10 20:53:53 +00:00
Evan Cheng
a962bfa001 Add a 64-bit test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29069 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-07 21:36:24 +00:00
Evan Cheng
cb7938c328 New vector shuffle test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29060 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-07 17:54:24 +00:00
Evan Cheng
a78d3277b7 Update
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29059 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-07 17:54:10 +00:00
Chris Lattner
3c8c1639b6 Xfail this
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29040 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-07 04:43:24 +00:00
Evan Cheng
d8122c3dff Update test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28994 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-05 20:46:27 +00:00
Andrew Lenharth
ddb1304660 Legalize does not handle this correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28991 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-03 22:46:02 +00:00
Chris Lattner
7aeeac75f5 Testcase that crashes the ppc backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28964 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-28 18:29:33 +00:00
Rafael Espindola
58421d7d08 initial implementation of ARMRegisterInfo::eliminateFrameIndex
fixes test/Regression/CodeGen/ARM/ret_arg5.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28854 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-18 00:08:07 +00:00
Chris Lattner
88a96252ee This test isn't implemented yet
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28820 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-16 16:36:50 +00:00
Jim Laskey
e4808ed44a Make sure global doubles and vectors are aligned properly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28805 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-15 19:35:07 +00:00
Chris Lattner
ca0173bc0a new testcase, not currently working.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28786 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-14 21:24:57 +00:00
Jim Laskey
209f437303 My original test case was bogus. Reverting to crasher case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28767 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-13 15:22:49 +00:00
Jim Laskey
df1530a5e3 Tests to make sure that ComputeMaskedBits discards bits for shifts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28766 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-13 13:10:44 +00:00
Chris Lattner
1398421ccf New testcase that crashes llc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28754 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-12 18:24:32 +00:00
Chris Lattner
586e65357b Add new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28732 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-08 18:26:48 +00:00
Chris Lattner
5591c5183b New testcase, using "AX" as i32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28730 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-08 18:20:13 +00:00
Rafael Espindola
5482ef3722 added some tests for argument passing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28644 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-01 22:01:25 +00:00
Evan Cheng
cb30906402 Update vector extract test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28580 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-31 00:48:09 +00:00
Evan Cheng
1fa57550c0 Added a test case for parameter passing of vector values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28567 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-30 20:37:00 +00:00
Evan Cheng
01ad240dc5 Fix the test failure on non-Darwin targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28566 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-30 20:35:46 +00:00
Evan Cheng
dc7dd9719d Add a lea instruction selection test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28549 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-30 06:53:55 +00:00
Evan Cheng
392b821fa4 New test case. x86 isel was creating a cycle in the DAG.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28477 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-25 20:21:19 +00:00
Rafael Espindola
2776bd1d2a create test/Regression/CodeGen/ARM/ and add a minimal test to it
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28468 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-25 10:49:19 +00:00
Evan Cheng
c7b7f4cad2 -sched-commute-nodes is now on by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28467 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-25 08:39:25 +00:00
Chris Lattner
c98deeb887 Update testcase with recent cbe change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28455 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-24 20:52:08 +00:00
Chris Lattner
c22158d371 One of these xforms is only safe with unsafe math enabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28446 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-24 00:49:32 +00:00
Chris Lattner
5ecc0acfbb New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28444 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-24 00:12:50 +00:00
Evan Cheng
13fcf6f811 Added a test case for FP equality check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28434 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-23 06:41:23 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Evan Cheng
23ea6078e9 Add a vector shuffle test case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27027 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-24 01:22:25 +00:00
Reid Spencer
2676f83776 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".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27009 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-23 23:41:57 +00:00
Chris Lattner
5d37acc917 add some tests for typecasts and extract_element
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26998 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-23 21:15:57 +00:00
Evan Cheng
7de48c143a Replace vector splat test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26963 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-22 21:39:25 +00:00
Evan Cheng
e9aba8bcc0 Add a v2f64 splat (using movlhps) test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26962 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-22 20:29:11 +00:00
Chris Lattner
6bf9791d51 test that vspltw is generated for test cases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26955 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-22 19:12:46 +00:00
Chris Lattner
4d2182a729 Add an integer splat test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26923 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-21 18:27:27 +00:00
Chris Lattner
3dfd61b910 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26906 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-20 22:37:05 +00:00
Evan Cheng
f255b81005 Option -enable-x86-lsr has been removed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26903 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-20 18:26:11 +00:00
Chris Lattner
7ca9777e08 add a new testcase. This insertelement should be a noop on SSE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26859 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-19 05:46:51 +00:00
Chris Lattner
00e2c94788 add another testcase, explicitly check stuff works with G5 and G3 codegen on
PPC.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26854 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-19 04:45:11 +00:00
Chris Lattner
152c72d88a add two new insert_element tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26850 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-19 01:27:04 +00:00
Chris Lattner
1e4af78b95 Add three new testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26844 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-19 00:20:03 +00:00
Chris Lattner
120e07f8b5 update testcases for x86 fastcc changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26842 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-18 23:48:54 +00:00
Nate Begeman
ab001cfeaf Add a missing testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26834 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-17 22:39:45 +00:00
Chris Lattner
95ab268594 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26832 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-17 20:04:40 +00:00
Evan Cheng
a3dc22f2d8 Add a lsr common loop invariant hoisting test case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26827 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-17 19:45:54 +00:00
Evan Cheng
513d19b6a1 Also requires -mattr=-sse3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26778 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-15 18:05:13 +00:00
Jim Laskey
ea6f8ce2a3 Remove the use of llvm.dbg.declare.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26744 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-14 01:53:11 +00:00
Chris Lattner
f4f5f6bca8 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26726 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-13 06:50:47 +00:00
Chris Lattner
31e66e8b76 weak globals on darwin require an extra load, breaking this test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26695 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-10 17:55:10 +00:00
Evan Cheng
e9eded1c25 Add a test case for (store (op (load ..) ..) ..) folding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26656 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-09 19:04:30 +00:00
Chris Lattner
88b48c36e2 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26534 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-04 23:31:49 +00:00
Evan Cheng
e5d5595d36 Add another test case for instruction scheduling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26507 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-03 18:58:09 +00:00
Chris Lattner
472c0ebea4 Remove these testcases. These intrinsics are going away
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26478 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-03 00:16:23 +00:00
Evan Cheng
d180ac1109 Add a regression test for bug 478.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26471 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-02 21:48:34 +00:00
Chris Lattner
358d5afcbd new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26458 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-01 21:46:53 +00:00
Chris Lattner
2471403423 load (x|y) -> load (x+y) iff x and y have no common bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26449 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-01 07:13:56 +00:00
Chris Lattner
c607fa8665 new testcase. These functions shouldn't touch the stack if stfiwx use
is enabled.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26446 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-01 05:49:05 +00:00
Chris Lattner
257bedbeaf new testcase. There should be no accesses to the stack for these functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26444 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-01 04:56:33 +00:00
Chris Lattner
cf6a9fbd9b new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26439 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-01 03:43:38 +00:00
Evan Cheng
ce531a4eff Add a test case for left shift by 1. We should not be using lea for this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26431 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-28 23:57:45 +00:00
Chris Lattner
7adf72a5e4 evan's recent x86 isel improvements have fixed this, though not in the way
originally envisioned :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26422 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-28 16:39:56 +00:00
Chris Lattner
c7d855ea2e new testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26420 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-28 06:54:19 +00:00
Chris Lattner
71f5dfa8e9 Reenable this
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26391 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-27 01:00:12 +00:00
Chris Lattner
cfdbb7caa8 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26387 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-27 00:20:23 +00:00
Evan Cheng
9394514ede New test case: use lea for imul by some constants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26378 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-25 10:16:10 +00:00
Evan Cheng
c6d80a4ecf lea.ll is XFAIL until we implement convertToThreeAddress.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26377 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-25 10:15:22 +00:00
Chris Lattner
05b53740e2 this fails, mark it as such
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26370 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-25 08:18:43 +00:00
Evan Cheng
4ba9cd53ba Add a test case for 'lea'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26322 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-23 00:12:12 +00:00
Nate Begeman
b1d3c15c3c A few final (for now) tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26267 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-17 21:38:45 +00:00
Nate Begeman
3bd5403920 Yet another test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26266 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-17 21:32:46 +00:00
Nate Begeman
d44d3d5fc3 New tests!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26265 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-17 21:22:08 +00:00
Nate Begeman
8ec18177da Fix a comment sabre noticed :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26257 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-17 06:24:31 +00:00
Nate Begeman
b5fefc732c A couple new regression tests to make sure we always pattern match the new
opcodes on ppc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26256 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-17 06:16:56 +00:00
Jim Laskey
19fd628e5c Code sufficiently protected against this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26213 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-15 17:20:59 +00:00
Andrew Lenharth
bd7c22cdcc test for improved zap discovery
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26147 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-13 18:52:01 +00:00
Chris Lattner
3b6059285b this passes now, due to Nate's recent efforts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26140 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-13 07:26:36 +00:00
Chris Lattner
d1157dd535 Reduce this testcase a bit more, with the help of llvm-extract and some hand tweaks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26139 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-13 07:02:50 +00:00
Evan Cheng
50b5c2ebd9 Added a test case for a libcall insertion bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26137 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-12 10:24:00 +00:00
Chris Lattner
2d99c81ff0 this apparently passes on linux
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26082 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-09 07:12:13 +00:00
Jim Laskey
e35eed2944 Disable this test for the time being as debug is brought up to speed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26063 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-08 18:17:06 +00:00
Chris Lattner
e1070166e7 These were moved to ../SPARC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25987 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-05 05:53:48 +00:00
Chris Lattner
7ce1bbf05d move V8 testcases here
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25986 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-05 05:52:55 +00:00
Evan Cheng
a5229887cf Added a (store (op (load ...) ...) ...) folding test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25933 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-03 06:46:41 +00:00
Chris Lattner
29dd2d7d15 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25897 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-02 06:35:38 +00:00
Andrew Lenharth
10d7f9a33f test cmov immediate form
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25881 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-01 19:36:52 +00:00
Chris Lattner
faa60106f1 new testcase for the 'ret double folding with load' opzn
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25868 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-01 01:45:02 +00:00
Evan Cheng
a80ea033d1 Don't generate (or setp, setae) for SETUGE. Simply flip the operands around and
generate SETULT instead.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25823 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-30 23:39:40 +00:00
Chris Lattner
a0bb4f749a new testcase for the 'C++' failures last night.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25820 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-30 22:43:10 +00:00
Chris Lattner
d7e9f30a22 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25813 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-30 06:11:36 +00:00
Evan Cheng
992694418b Use Intel assembly syntax to look for ST
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25713 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-27 22:51:51 +00:00
Evan Cheng
69c543709d X86 dag isel is now (soon) the default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25699 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-27 21:15:22 +00:00
Evan Cheng
9bd79b17ef These are fp stack test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25698 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-27 21:14:23 +00:00
Evan Cheng
8cb1e2b6f4 XFAIL tailcall test cases until it's implemented.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25697 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-27 21:13:27 +00:00
Andrew Lenharth
c20dee3566 added a couple test cases, including the new vaarg breakage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25648 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-26 17:43:42 +00:00
Chris Lattner
9706e63251 Testcase that failed due to a legalizer bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25537 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-23 07:30:14 +00:00
Chris Lattner
32814a58e4 this option is gone, the dag isel is the default now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25536 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-23 07:21:12 +00:00
Chris Lattner
60dda07913 new testcase that crashes llc for ppc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25495 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-21 04:25:07 +00:00
Evan Cheng
52b8b5982f Added a load folding bug test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25472 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-20 01:12:23 +00:00
Andrew Lenharth
1cdd5c6e11 a reduced test case, the GlobalAddress is never legalized
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25427 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-18 22:59:33 +00:00
Chris Lattner
97f8f8d8f2 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25420 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-18 19:16:07 +00:00
Chris Lattner
a076787d7b this testcase sent the dag combiner spinning into an infinite loop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25418 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-18 19:13:11 +00:00
Andrew Lenharth
097c6e18a3 this is fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25370 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-16 21:22:42 +00:00
Chris Lattner
84b26b600d Fix these testcases :(
Apparently Andrew hasn't implemented ReadCycleCounter in the new isel and
renamed ornot to eqv


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25360 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-16 16:34:39 +00:00
Nate Begeman
d88fc03602 bswap implementation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25312 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-14 03:14:10 +00:00
Chris Lattner
929db42702 testcase for the llvm.stacksave/llvm.stackrestore intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25269 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-13 02:25:08 +00:00
Evan Cheng
2085a9d99b Test case for a SETCC / BRCOND folding bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25258 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-13 01:02:22 +00:00
Duraid Madina
8d4acd715a verily, sabre did leave
and yea! Saem said "ARRR."

meanwhile, the pinksias and the campfires and the ET forests glowed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25240 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-12 02:50:34 +00:00
Nate Begeman
cfde3c19c7 Add testcase for rotate by register and rotate by immediate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25228 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-11 22:58:12 +00:00
Chris Lattner
634f235a46 Testcase the PPC backend is miscompiling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25216 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-11 18:15:37 +00:00
Chris Lattner
07917b672d catch all forms of xnor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25208 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-11 07:13:22 +00:00
Andrew Lenharth
fe67ca209f Change this regression so andi is not a valid codegen of it
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25056 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-01 22:14:31 +00:00
Chris Lattner
7bfdd86147 new testcase, fails on X86 and probably others
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24894 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-21 05:09:57 +00:00
Chris Lattner
504640333d A truly trivial testcase to ensure sparcv8 doesn't get completely broken
again.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24737 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-16 06:24:55 +00:00
Nate Begeman
1dae25e23a Add a case for float just to make sure the patterns for both precisions
are matching


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24718 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-14 22:51:13 +00:00
Chris Lattner
e4e49132af new testcase, each function should have one extension instr in it
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24711 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-14 19:24:08 +00:00
Chris Lattner
a92dabb259 Testcase for a problem that reid ran into
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24676 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-12 22:27:22 +00:00
Chris Lattner
6a0beed626 new testcase, for PR672
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24584 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-04 06:03:25 +00:00
Chris Lattner
43cb6effd3 New testcase that crashes llc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24570 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-01 23:14:09 +00:00
Chris Lattner
af6aa077d4 Test that crashes the ppc backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24546 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-30 20:40:28 +00:00
Chris Lattner
33a13d4bd2 This should not be dce'd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24433 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-20 21:46:52 +00:00
Andrew Lenharth
87420af40b oops
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24432 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-20 21:42:49 +00:00
Andrew Lenharth
bbafae6c80 check that rdtsc is generated from readcyclecounter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24431 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-20 21:41:59 +00:00
Chris Lattner
692f871d1f this is no apparently passing on alpha
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24331 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-12 18:35:13 +00:00
Andrew Lenharth
51b8d54922 continued readcyclecounter support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24300 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-11 16:47:30 +00:00
Chris Lattner
79ae0d12ba Check that this compiles to a label with a space in it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24284 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-10 19:33:04 +00:00
Chris Lattner
65026a72ef new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24112 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-30 19:42:18 +00:00
Chris Lattner
dc50b3587c The pass was removed, but the spirit lives on
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24108 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-30 07:22:15 +00:00
Chris Lattner
4446e04509 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24103 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-30 06:37:33 +00:00
Duraid Madina
ad85677879 test for the formation of shladd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24077 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-29 04:06:49 +00:00
Chris Lattner
dda73c12e9 add the xfail lines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24066 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-28 19:57:55 +00:00
Chris Lattner
32b03ff918 New testcase. Probably many targets don't support this, so they should probably
add themselves as xfails until they do (at least for the release).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24065 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-28 19:52:02 +00:00
Nate Begeman
92d6bb35d7 Add a regression test for the recent fix for FP_TO_UINT lowering in the ppc
backend.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23995 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-25 23:53:21 +00:00
Chris Lattner
77a498cd7e New testcase that crashes the ppc backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23871 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-21 21:09:13 +00:00
John Criswell
3d92544261 Moved to Regression/Codegen/Generic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23829 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-19 18:52:52 +00:00
John Criswell
eb853a498f This is a generic test for all code generators. It originally came from
Regression/Codegen/X86.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23826 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-19 18:51:07 +00:00
John Criswell
886eb39170 Force i386 code generation for an i386 specific test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23821 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-19 18:30:39 +00:00
Chris Lattner
f46544cd82 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23798 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-18 22:13:39 +00:00
John Criswell
d41abfa1d2 Use %s instead of hard coding the input filename.
This allows the test to work when srcdir != objdir.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23775 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-17 21:54:18 +00:00
Chris Lattner
dcdadef96d Nate implemented this :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23707 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-13 06:04:34 +00:00
Chris Lattner
e64dfbc10b new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23689 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-10 21:57:37 +00:00
Chris Lattner
1628947362 A testcase sitting in my tree
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23687 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-10 21:21:36 +00:00
Chris Lattner
0cb34c4714 Testcase that is miscompiled by the ppc backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23669 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-09 05:31:47 +00:00
Chris Lattner
a77e86e73e These don't need to be sdivs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23661 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-07 15:27:12 +00:00
Chris Lattner
babac05a95 New testcase, should turn into a ushr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23658 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-07 06:10:03 +00:00
Chris Lattner
602b02a8f4 double to float casts should nto result in an fmr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23653 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-07 04:59:41 +00:00
Chris Lattner
ee738803c4 test broken in the IA64 backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23651 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-07 04:49:00 +00:00