Nate Begeman
30e30c76ae
Initial checkin of regression test for generating the PowerPC rlwimi
...
instruction, which performs bitfield inserts. All tests should compile
to one rlwimi instruction.
llvm-svn: 17206
2004-10-24 10:30:22 +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
Brian Gaeke
35eb7aeae3
New version of Bill Wendling's PR33 patch.
...
llvm-svn: 16050
2004-08-25 19:00:42 +00:00
Brian Gaeke
1bd0804f6d
note pr#
...
llvm-svn: 16015
2004-08-24 07:28:45 +00:00
Brian Gaeke
adc0b83eec
A PR60 test case
...
llvm-svn: 16005
2004-08-23 20:49:33 +00:00
Misha Brukman
81f6ee8070
Simple hand-coded tests to aid in early development of backends, along with a
...
Makefile to run ad-hoc tests easily.
llvm-svn: 15664
2004-08-11 14:16:34 +00:00
Chris Lattner
cee3c6b1be
This testcase causes the CBE to generate code that is not legal C.
...
llvm-svn: 15601
2004-08-09 23:56:17 +00:00
Reid Spencer
084010444f
Added another test case for double FP constants as well.
...
llvm-svn: 15233
2004-07-26 15:04:13 +00:00
Chris Lattner
a2311dac5f
Update test
...
llvm-svn: 15228
2004-07-26 05:04:25 +00:00
Chris Lattner
7324574660
Update gc intrinsics to take pointer to object as well as pointer to field.
...
Patch contributed by Tobias Nurmiranta
llvm-svn: 15094
2004-07-22 05:48:38 +00:00
Chris Lattner
1d6b5f38fe
Make this testcase more interesting
...
llvm-svn: 14561
2004-07-02 05:43:51 +00:00
Chris Lattner
8b0c935145
New testcase for constant expression lowering pass, contributed by Vladimir Prus!
...
llvm-svn: 14398
2004-06-25 07:47:13 +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
Brian Gaeke
5caed4e7dd
Test case for PR368
...
llvm-svn: 14129
2004-06-11 02:11:43 +00:00
Reid Spencer
d2eca3d441
Make the test pass by using the correct RUN: syntax.
...
llvm-svn: 13848
2004-05-27 20:49:16 +00:00
Reid Spencer
09fabea814
Added a "RUN:" line so this file can be executed by TestRunner.sh
...
llvm-svn: 13829
2004-05-27 08:28:42 +00:00
Chris Lattner
d74befe02a
gc_init now gets an argument
...
llvm-svn: 13816
2004-05-27 05:51:00 +00:00
Chris Lattner
6eea16e526
Make the test use the %A type
...
llvm-svn: 13789
2004-05-26 17:14:49 +00:00
Chris Lattner
acd339ea4f
Add a simple testcase for garbage collection support
...
llvm-svn: 13697
2004-05-23 21:24:50 +00:00
Chris Lattner
60ef22da3d
Testcase for PR337, which was reduced by Reid Spencer.
...
llvm-svn: 13443
2004-05-10 05:11:24 +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
Alkis Evlogimenos
7ab640fdcb
Update testcase to illustrate the coalescing problem. The previous one did not work because of a fix in the x86 instruction selector.
...
llvm-svn: 12870
2004-04-12 19:04:22 +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
Alkis Evlogimenos
70bbce62b1
Add same value coalescing testcase
...
llvm-svn: 12865
2004-04-12 15:40:25 +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
d93de7a754
New file that can be useful for hand inspection of assembly required for certain
...
kinds of instructions.
llvm-svn: 12746
2004-04-07 05:06:39 +00:00
Chris Lattner
a67801f0d4
New testcase
...
llvm-svn: 12738
2004-04-07 04:08:21 +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
John Criswell
6192eeb0c5
Fixed test case to actually check for the static declaration.
...
Oops.
llvm-svn: 11886
2004-02-26 22:56:13 +00:00
John Criswell
6fd2e36fd5
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.
llvm-svn: 11885
2004-02-26 22:55:11 +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
83a0044077
Moving CBE tests to test/Regression/CodeGen/CBackend
...
llvm-svn: 11486
2004-02-15 22:56:30 +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