Chris Lattner
14568496c0
set the target triple so that we don't fail due to X86 abi issues
...
llvm-svn: 22479
2005-07-20 03:56:48 +00:00
Chris Lattner
6e3decb6ea
add test to check for tail calls
...
llvm-svn: 22048
2005-05-15 05:52:51 +00:00
Chris Lattner
8d1ea49603
Make sure this is not eligible for tail-call-elimination so that we test
...
the correct thing.
llvm-svn: 22039
2005-05-14 23:54:55 +00:00
Chris Lattner
fe2ebdef4d
new testcase
...
llvm-svn: 22037
2005-05-14 23:52:09 +00:00
Chris Lattner
024e1922e6
Ensure these casts are done with the hardware fildll instruction
...
llvm-svn: 22013
2005-05-14 07:09:25 +00:00
Chris Lattner
5900197232
new testcase
...
llvm-svn: 21989
2005-05-13 22:15:26 +00:00
Chris Lattner
5b256d67cc
Force x86 backend
...
llvm-svn: 21940
2005-05-13 16:20:59 +00:00
Chris Lattner
f26c015929
add a correct run line
...
llvm-svn: 21918
2005-05-13 04:20:57 +00:00
Chris Lattner
53eadd159b
reg test
...
llvm-svn: 21914
2005-05-12 23:09:04 +00:00
Chris Lattner
a7fc3d9119
tweak test to accept the (good) code emitted by the pattern isel
...
llvm-svn: 21812
2005-05-09 05:54:27 +00:00
Chris Lattner
85013ae74a
New testcase that crashes the pattern isel
...
llvm-svn: 21800
2005-05-09 03:36:11 +00:00
Nate Begeman
f24225d4d7
Update dejagnu tests to use the new pattern isel flag
...
llvm-svn: 21311
2005-04-16 04:25:48 +00:00
Chris Lattner
d9748bcae5
make this test more interesting
...
llvm-svn: 21170
2005-04-09 04:55:14 +00:00
Chris Lattner
04e0515937
this has now been fixed
...
llvm-svn: 21026
2005-04-02 16:17:57 +00:00
Chris Lattner
1d7052fad5
don't forget to use the right code generator :)
...
llvm-svn: 21017
2005-04-02 05:40:03 +00:00
Chris Lattner
b4e122c59f
new testcase
...
llvm-svn: 21016
2005-04-02 05:35:00 +00:00
Chris Lattner
70a402b9b8
make sure this test tests the intended target.
...
llvm-svn: 20777
2005-03-23 01:32:03 +00:00
Chris Lattner
3d2881066b
A testcase that LLC produces illegal asm on for Prolangs-C/cdecl now.
...
llvm-svn: 20182
2005-02-14 21:31:41 +00:00
Chris Lattner
651ffb1df8
xfail this.
...
llvm-svn: 19846
2005-01-26 07:09:44 +00:00
Chris Lattner
c4adfbbd0b
New testcase for rotate instructions. Each function should codegen to a
...
rotate.
llvm-svn: 19691
2005-01-19 08:04:08 +00:00
Chris Lattner
603677549f
Add a test for 16-bit sh*d.
...
llvm-svn: 19688
2005-01-19 07:37:01 +00:00
Chris Lattner
892336a1b5
Ensure that each these functions generates a sh[rl]d instruction.
...
llvm-svn: 19682
2005-01-19 06:30:36 +00:00
Chris Lattner
81841af594
This is a carefully contrived testcase where the X86 ISel is emitting all loads
...
before other ops, causing it to spill like mad. This occurs in
164.gzip:flush_block.
llvm-svn: 19648
2005-01-17 23:16:01 +00:00
Chris Lattner
9605c927d1
New testcase for a problem that occurred in 132.ijpeg
...
llvm-svn: 19630
2005-01-17 06:25:59 +00:00
Chris Lattner
788bdba13d
The pattern isel is aggressively codegen'ing all of the loads in these
...
functions together at the start of the basic block, causing massive spillage.
The old isel codegened the loads wherever they happened to land, so it
generated good code for the first case, but bad code for the second.
We really want the pattern isel to generate (the same) good code for both.
llvm-svn: 19448
2005-01-11 03:05:03 +00:00
Chris Lattner
e80eca3d1d
New testcase.
...
llvm-svn: 19363
2005-01-08 05:44:07 +00:00
Chris Lattner
001467a08c
Add a testcase I forgot to commit earlier.
...
llvm-svn: 19338
2005-01-07 07:56:08 +00:00
Chris Lattner
9eef99ef43
New testcase
...
llvm-svn: 19312
2005-01-06 21:18:53 +00:00
Chris Lattner
179457f062
xfail these tests, whcih require more info in the code generator to implement
...
correctly.
llvm-svn: 19257
2005-01-02 19:01:33 +00:00
Chris Lattner
835ae42300
Add several testcases for new optimizations in the code generator.
...
llvm-svn: 19244
2005-01-02 02:30:04 +00:00
Chris Lattner
9cf32444bb
This program doesn't break anything anymore.
...
llvm-svn: 18411
2004-12-02 02:26:18 +00:00
Tanya Lattner
f1e4bf5b66
Adding srcdir arg
...
llvm-svn: 18020
2004-11-19 22:45:25 +00:00
Tanya Lattner
4afaf40a28
Adding subdirectory dg.exp files in order to be able to use dejagnu to only run specific tests (located in some subdirectory of Regression)
...
llvm-svn: 17712
2004-11-13 23:00:45 +00:00
Chris Lattner
4c5a8055c9
Update this to expect AT&T syntax
...
llvm-svn: 17552
2004-11-07 01:46:16 +00:00
Tanya Lattner
1d28bdac94
Adding XFAIL lines for dejagnu support.
...
llvm-svn: 17514
2004-11-06 20:38:27 +00:00
Chris Lattner
fc95027b7a
New testcase. The setcc is only used by a select, but not as a condition:
...
it cannot be folded in.
llvm-svn: 16839
2004-10-08 16:33:40 +00:00
Chris Lattner
1d6b5f38fe
Make this testcase more interesting
...
llvm-svn: 14561
2004-07-02 05:43:51 +00:00
Chris Lattner
f4dc3fd26e
Isnan became unordered
...
llvm-svn: 14322
2004-06-22 16:13:57 +00:00
Chris Lattner
ee92bfca97
This testcase is a bit silly now, but oh well :)
...
llvm-svn: 14188
2004-06-15 21:46:16 +00:00
Chris Lattner
858cb55a5c
Test that the X86 backend is only emitting one fucom instruction
...
for each 'COM =' line.
llvm-svn: 14147
2004-06-11 05:30:34 +00:00
Chris Lattner
a5ddab2779
Testcase for PR369
...
llvm-svn: 14136
2004-06-11 02:59:47 +00:00
Chris Lattner
434cc49bca
Check to make sure that isnan doesn't require calling a function
...
llvm-svn: 14135
2004-06-11 02:54:54 +00:00
John Criswell
917b641609
Test for memory mapped I/O intrinsics.
...
llvm-svn: 12943
2004-04-14 13:52:56 +00:00
Chris Lattner
8662beeecd
new testcase that crashes the fp stackifier
...
llvm-svn: 12932
2004-04-13 21:44:54 +00:00
Chris Lattner
e342a8ef49
Make the testcase more challenging
...
llvm-svn: 12892
2004-04-13 17:18:07 +00:00
John Criswell
b7147b33a0
Added testcase for the llvm.readport and llvm.writeport intrinsics.
...
llvm-svn: 12868
2004-04-12 16:42:43 +00:00
Chris Lattner
14243fb3b8
New testcase
...
llvm-svn: 12845
2004-04-11 23:18:30 +00:00
Chris Lattner
fe94f0bf93
New testcase
...
llvm-svn: 12843
2004-04-11 22:05:16 +00:00
Chris Lattner
9affe3e7df
New testcase
...
llvm-svn: 12837
2004-04-11 20:24:01 +00:00
Chris Lattner
cfbc023153
Tests for fp cmov's that I forgot to check in earlier
...
llvm-svn: 12585
2004-04-01 03:47:56 +00:00
Chris Lattner
2dfdad631f
Test folding comparisons into select instructions
...
llvm-svn: 12559
2004-03-30 22:37:04 +00:00
Chris Lattner
f78f843adf
New testcase. This now codegens to:
...
max:
mov %EAX, DWORD PTR [%ESP + 4]
mov %ECX, DWORD PTR [%ESP + 8]
cmp %EAX, %ECX
cmovle %EAX, %ECX
ret
Someone should really implement passing arguments through registers for
known-internal functions. :)
llvm-svn: 12558
2004-03-30 22:36:52 +00:00
Chris Lattner
b5d47a9420
New testcase for select instructions
...
llvm-svn: 12552
2004-03-30 21:21:14 +00:00
Chris Lattner
d31caa438a
Add testcase for the casts that are missing in PR249
...
llvm-svn: 11727
2004-02-23 03:21:09 +00:00
Chris Lattner
3e86e1b0f7
Test for actual support, not just for lack of crashage
...
llvm-svn: 11460
2004-02-15 01:21:39 +00:00
Chris Lattner
f070437543
New testcase for PR237: [x86] wierd stack/frame pointer manipulation
...
llvm-svn: 11456
2004-02-15 00:21:04 +00:00
Chris Lattner
3c4bc03c8a
Test that the code generator supports these intrinsics
...
llvm-svn: 11432
2004-02-14 02:51:40 +00:00
Chris Lattner
71957a90b3
Test that we get rep movs when calling memcpy
...
llvm-svn: 11352
2004-02-12 17:53:43 +00:00
Chris Lattner
a52b206d91
Move this testcase out of /home/vadve/lattner/cvs/llvm/test/Programs/LLVMSource,
...
as it fails.
llvm-svn: 11250
2004-02-09 22:52:25 +00:00
Chris Lattner
8a9da302a8
New testcase, code generators should support invoke/unwind
...
llvm-svn: 11192
2004-02-08 19:40:58 +00:00
Chris Lattner
efdc952714
Genericize tests
...
llvm-svn: 10091
2003-11-19 19:44:28 +00:00