Chris Lattner
c95f3b8822
Make this testcase more interesting
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14561 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-02 05:43:51 +00:00
Chris Lattner
dfde14ef5a
New testcase for constant expression lowering pass, contributed by Vladimir Prus!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14398 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-25 07:47:13 +00:00
Chris Lattner
7962a8b21e
Isnan became unordered
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14322 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 16:13:57 +00:00
Chris Lattner
85a14bb586
This testcase is a bit silly now, but oh well :)
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14188 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-15 21:46:16 +00:00
Chris Lattner
c31ae50c04
Test that the X86 backend is only emitting one fucom instruction
...
for each 'COM =' line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14147 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-11 05:30:34 +00:00
Chris Lattner
4d091e0a52
Testcase for PR369
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14136 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-11 02:59:47 +00:00
Chris Lattner
a32579b8f8
Check to make sure that isnan doesn't require calling a function
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14135 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-11 02:54:54 +00:00
Brian Gaeke
51f148f394
Test case for PR368
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14129 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-11 02:11:43 +00:00
Reid Spencer
7dde37df55
Make the test pass by using the correct RUN: syntax.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13848 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 20:49:16 +00:00
Reid Spencer
77ac9ed814
Added a "RUN:" line so this file can be executed by TestRunner.sh
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13829 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 08:28:42 +00:00
Chris Lattner
56fff59841
gc_init now gets an argument
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13816 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 05:51:00 +00:00
Chris Lattner
c293cfa204
Make the test use the %A type
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13789 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-26 17:14:49 +00:00
Chris Lattner
4cb1f3c10d
Add a simple testcase for garbage collection support
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13697 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-23 21:24:50 +00:00
Chris Lattner
02eac39359
Testcase for PR337, which was reduced by Reid Spencer.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13443 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-10 05:11:24 +00:00
John Criswell
5365b6d143
Test for memory mapped I/O intrinsics.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12943 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-14 13:52:56 +00:00
Chris Lattner
c78c0e4c06
new testcase that crashes the fp stackifier
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12932 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-13 21:44:54 +00:00
Chris Lattner
5deaa7a73d
Make the testcase more challenging
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12892 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-13 17:18:07 +00:00
Alkis Evlogimenos
479f7e5e78
Update testcase to illustrate the coalescing problem. The previous one did not work because of a fix in the x86 instruction selector.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12870 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-12 19:04:22 +00:00
John Criswell
f8d57a51ad
Added testcase for the llvm.readport and llvm.writeport intrinsics.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12868 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-12 16:42:43 +00:00
Alkis Evlogimenos
d1862af314
Add same value coalescing testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12865 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-12 15:40:25 +00:00
Chris Lattner
bb4d6c59c3
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12845 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-11 23:18:30 +00:00
Chris Lattner
2d9de9d0cb
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12843 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-11 22:05:16 +00:00
Chris Lattner
dbd1588a36
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12837 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-11 20:24:01 +00:00
Chris Lattner
8b3df485d5
New file that can be useful for hand inspection of assembly required for certain
...
kinds of instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12746 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-07 05:06:39 +00:00
Chris Lattner
6a135f2e8c
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12738 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-07 04:08:21 +00:00
Chris Lattner
140385e0ac
Tests for fp cmov's that I forgot to check in earlier
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12585 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-01 03:47:56 +00:00
Chris Lattner
dd285eab68
Test folding comparisons into select instructions
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12559 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-30 22:37:04 +00:00
Chris Lattner
5192676aa4
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. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12558 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-30 22:36:52 +00:00
Chris Lattner
3b68c201c8
New testcase for select instructions
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12552 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-30 21:21:14 +00:00
John Criswell
fad5c3a646
Fixed test case to actually check for the static declaration.
...
Oops.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11886 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-26 22:56:13 +00:00
John Criswell
726f0b8d36
Regression tests for PR258 and PR259.
...
2004-02-26-FPNotPrintableConstants.llx ensures that constants used in an
LLVM program are declared static if they are assigned to global variables.
2004-02-26-LinkOnceFunctions.llx ensures that linkonce functions get the
weak attribute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11885 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-26 22:55:11 +00:00
Chris Lattner
16865af5d5
Add testcase for the casts that are missing in PR249
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11727 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-23 03:21:09 +00:00
Chris Lattner
b83530f956
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11480 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-15 22:14:46 +00:00
Chris Lattner
8710da3c58
Test for actual support, not just for lack of crashage
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11460 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-15 01:21:39 +00:00
Chris Lattner
d31dd3278f
New testcase for PR237: [x86] wierd stack/frame pointer manipulation
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11456 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-15 00:21:04 +00:00
Chris Lattner
d64e0df32b
Add a testcase for the frameaddress and returnaddress intrinsics.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11434 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-14 02:55:47 +00:00
Chris Lattner
4a6f9a40b7
Test that the code generator supports these intrinsics
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11432 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-14 02:51:40 +00:00
Chris Lattner
aa82943a1d
Update tests
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11418 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-13 23:33:17 +00:00
Chris Lattner
cb7cb71bc8
Test that we get rep movs when calling memcpy
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11352 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-12 17:53:43 +00:00
Chris Lattner
79caafeefe
Move this testcase out of /home/vadve/lattner/cvs/llvm/test/Programs/LLVMSource,
...
as it fails.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11250 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-09 22:52:25 +00:00
Chris Lattner
8b391fb430
New testcase, code generators should support invoke/unwind
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11192 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-08 19:40:58 +00:00
Brian Gaeke
3d55eda9da
Unbreak this test case - llvm-as no longer tolerates redefining names in any
...
given type plane.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10169 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 06:18:35 +00:00
Brian Gaeke
95c03fd204
Strengthen test case.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10166 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 05:01:57 +00:00
Brian Gaeke
b1ef7d6e35
C Writer was dumping core on this test case.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10165 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 04:58:25 +00:00
Chris Lattner
1d8addbc16
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9682 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-03 19:27:17 +00:00
Brian Gaeke
dd73e9d0d5
New testcase, reduced from DOOM.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9568 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 22:54:56 +00:00
Chris Lattner
10be6a6c73
New testcase, which failes to compile. 252.eon hits this problem
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9440 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 19:25:53 +00:00
Chris Lattner
eea7cca366
Zero arg varargs functions are legal in LLVM, but not in C.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9425 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 17:31:33 +00:00
Chris Lattner
5139f2b549
Update test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9414 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:01:03 +00:00
Chris Lattner
dfaeb0e8b9
Test that we can emit global initializers that are not normal FP values
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9050 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-12 07:31:25 +00:00