Commit Graph

2788 Commits

Author SHA1 Message Date
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
Chris Lattner
2c54676d70 new testcase, distilled from povray
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28778 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-14 04:45:45 +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
b2035f2287 TEstcase that makes simplifycfg infloop.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28757 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-12 20:17: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
Owen Anderson
b083af6448 Make sure that LCSSA works properly when it encounters an exit block that has
more than one predecessor inside the loop.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28749 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-12 07:05:47 +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
Owen Anderson
32a90f85af Update the regression tests, and add a new one encountered while compiling crtend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28681 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-04 00:56:30 +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
Chris Lattner
29c312300e testcase for the recent inliner improvement.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28643 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-01 21:54:58 +00:00
Reid Spencer
ea60e204ab No, libLLVMbzip2 does not have a .a suffix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28624 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-01 07:23:32 +00:00
Reid Spencer
42505f5567 Fix gcc command line options after LLVMCore and LLVMbzip2 became archive
libraries.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28623 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-01 07:19:28 +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
Reid Spencer
226368ff4e 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28576 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-30 23:07:17 +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
Reid Spencer
0490c0f124 Fix a bug with diffing the wrong files. Make output more readable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28542 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-29 18:09:38 +00:00
Owen Anderson
f49748730e Require both tests to pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28531 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-29 01:28:16 +00:00
Owen Anderson
6894526189 Update the testcase to check the full extent of LCSSA.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28530 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-29 01:07:04 +00:00
Reid Spencer
492196c89f Fix a problem where dejagnu won't accept the value of global tcl variable
"libdir" for some reason. Changing to llvmlibsdir instead fixes it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28526 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-28 07:22:42 +00:00
Reid Spencer
15d4059430 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28525 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-28 04:21:40 +00:00
Chris Lattner
5ca32a6d6c New testcase: check that the inliner constant folds instructions on the
fly if it can.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28515 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-27 01:16:22 +00:00
Owen Anderson
22cf8b118e Trivial testcase that LCSSA can already handle.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28508 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-26 21:59:20 +00:00
Chris Lattner
0102587f2a New testcase for trivial DSE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28502 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-26 19:18:40 +00:00
Chris Lattner
e812d1133b New testcase, check that the bc file correctly encodes varargs nonccc calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28500 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-26 18:41:26 +00:00
Chris Lattner
8e8a511b58 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28486 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-25 23:23:22 +00:00
Chris Lattner
78b3c420b2 new testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28484 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-25 22:52:49 +00:00
Chris Lattner
45df8e2d23 The patch corresponding to this test had to be reverted as unsafe.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28479 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-25 21:25:54 +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
b464997bba Testcase for a new instcombine xform, patch contributed by Nick Lewycky!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28449 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-24 17:34:02 +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
Chris Lattner
a831a6c1c5 new testcase for csretcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28413 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-19 22:00:54 +00:00
Chris Lattner
82743daacf new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28396 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-19 19:34:09 +00:00
Reid Spencer
8b437e05b5 Improve error output. Use the third parameter of the "catch" command to
capture the error output from the exec option. This generally will capture
the stderr messages generated by the tools. This information is then
printed if the test fails. This helps to recognize more quickly what the
error was. Otherwise, this information is lost.


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


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


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


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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27747 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-17 05:27:31 +00:00
Evan Cheng
f0fc7fed66 Better way to splat v2f64
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27735 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-16 18:16:43 +00:00
Chris Lattner
d8f5bd3988 New testcase, checking to see we can turn this code:
void test(vector float *F, float f) {
  vector float G = *F + *F;
  *((float*)&G) = f;
  *F = G + G;
}

void test2(vector float *F, float f) {
  vector float G = *F + *F;
  ((float*)&G)[2] = f;
  *F = G + G;
}

void test3(vector float *F, float *f) {
  vector float G = *F + *F;
  *f = ((float*)&G)[2];
}

void test4(vector float *F, float *f) {
  vector float G = *F + *F;
  *f = *((float*)&G);
}

into insert/extract element operations with no memory traffic.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27709 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-14 21:41:54 +00:00
Chris Lattner
619b2d23c9 Force a specific config, because this test fails in certain configs otherwise.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27694 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-14 06:06:51 +00:00
Chris Lattner
b04d993d72 new testcase, vector operations should be CSE'd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27690 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-14 05:09:53 +00:00
Chris Lattner
b04f706044 Remove this test, there is no need to test GCC's bugs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27689 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-14 04:47:26 +00:00
Chris Lattner
a7143ce29d My addition of the xfail marker threw off the line #. move it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27678 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 21:19:13 +00:00
Reid Spencer
db4264fee1 Use quotes properly so that the possibility of a null variable set is
eliminated. This can happen, for example, if LLVM is configured without
llvm-gcc in which case things like LLVMGCC_VERSION will be empty. In
such cases, deja-gnu fails with:
can't read "llvmgcc_version": no such variable
because it sees:
set llvmgcc_version
instead of:
set llvmgcc_version ""


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


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


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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27660 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 17:19:34 +00:00
Chris Lattner
166effdc23 Oops, move misplaced test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27659 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 17:18:42 +00:00
Chris Lattner
e7997ad085 These are only XFAILs with llvmgcc3, they pass with llvmgcc4
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27658 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 17:16:21 +00:00
Chris Lattner
8981f06a44 Add a run with an unusual target triple, revert the patch that sent output to
dev null as it broke the test and doesn't add anything.


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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27465 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-06 22:22:08 +00:00
Chris Lattner
cc8b1ac5cb Add vmrg(x,x) tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27462 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-06 22:02:11 +00:00