Commit Graph

1588 Commits

Author SHA1 Message Date
Chris Lattner
80fc86a0b2 Add a new testcase for folding an add into a switch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14586 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-03 00:25:31 +00:00
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
635b83f135 Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14516 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-01 04:11:35 +00:00
Chris Lattner
1394784e87 -debug option does not exist in a release build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14515 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-01 04:10:15 +00:00
Chris Lattner
f380445185 Fix testcase. For some reason this was failing only with a release build and
not with a debug build?  Rather testrunner only caught it in that case.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14514 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-01 04:09:14 +00:00
Chris Lattner
8d5e05bb71 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14442 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-27 22:51:19 +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
b0266b6536 test/Libraries have been long gone for a long time now. Since noone noticed
tehse were broken, just nuke them.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14310 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 02:26:33 +00:00
Reid Spencer
1a580bea99 Nullify this test as it causes infinite loop in optimized nightly test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14279 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-21 08:11:32 +00:00
Chris Lattner
553a7abc78 Test for PR374
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14240 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-19 01:08:12 +00:00
Chris Lattner
b80e3ada7b New test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14220 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-18 06:07:17 +00:00
Chris Lattner
eaf10c8242 Test that C99 unordered comparison functions are not being turned into libc calls
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14218 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-18 05:42:50 +00:00
Chris Lattner
cb37056996 New testcase for GCC unordered comparison builtins
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14214 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-18 03:39:56 +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
5e9a7ca75a Right, stop being silly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14184 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-15 21:29:40 +00:00
Chris Lattner
6c07f30dbe Add a nan, stop testing isnan
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14183 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-15 21:29:01 +00:00
Alkis Evlogimenos
9685372062 Add the isunordered intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14159 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-12 19:19:14 +00:00
Chris Lattner
7ba02f1115 Add tests for isnan
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14149 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-11 06:16:13 +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
Chris Lattner
86ee776681 I misled Alkis: LLVM should have isnan, not isunordered.
isunordered(X, Y) === isnan(X) | isnan(Y)

Remove isunordered, add isnan.

Modernize testcase


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14133 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-11 02:29:57 +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
Alkis Evlogimenos
fd39b30a7a Add feature test for llvm intrinsics. It currently contains only the "isunordered" intrinsic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14126 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-11 01:06:40 +00:00
Chris Lattner
9e28f18fb3 More instcombine testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14094 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-09 07:59:40 +00:00
Chris Lattner
16ea43b008 New testcase that is important for the Java FE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14085 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-09 05:07:01 +00:00
Chris Lattner
4561db2edc New testcase for the instruction combiner that happen often in the Java FE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14082 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-09 04:23:57 +00:00
Chris Lattner
2917ca87f7 New testcase for PR355
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14062 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-08 07:11:14 +00:00
Chris Lattner
72b08c97d3 Testcase for PR355
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14061 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-08 07:10:11 +00:00
Chris Lattner
9919101c58 New testcase for PR361
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14052 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-07 23:07:09 +00:00
Brian Gaeke
9aa9b09aca Maybe this will keep people from breaking -branch-combine!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13928 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-01 20:01:05 +00:00
Chris Lattner
396d96bd27 Make tool names end with .exe on windows. This isn't needed to run the
tools, but is required for rules that depend on the executables, e.g.:

a: b $(LLVMAS)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13926 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-01 19:06: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
Chris Lattner
8152f5f41d Add back a test I accidentally removed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13835 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 17:43:33 +00:00
Chris Lattner
3ba3097516 Add another testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13833 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 17:28:55 +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
7bbf388753 remove bogus test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13827 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 07:39:51 +00:00
Chris Lattner
896b64bf03 Make the test test what it is supposed to
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13826 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 07:37:45 +00:00
Chris Lattner
c0e61e3195 The -exprs pass is no longer with LLVM. *sniff*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13825 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 07:36:08 +00:00
Chris Lattner
413c76f3bc Correct test. use "not grep" instead of "grep -v"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13824 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 07:32:25 +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
dcf3a6b124 Fix a test that was "broken" by new optimizations. The transformation we
are doing is certainly correct, its just that we didn't have the capability
to do it when the testcase was written (no select instr)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13799 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-26 23:51:29 +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
256b7a452b New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13739 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-25 06:30:49 +00:00
Chris Lattner
2e13cea896 Add a new test16 and fix some other tests that were not properly written
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13735 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-25 04:28:43 +00:00
Chris Lattner
2b83af553a Testcases for andersen's alias analysis.
I think this is all of the stuff I had pending in my tree..


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13703 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-23 21:31:00 +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
6d09becf08 Testcase for PR340: Verifier misses malformed switch instruction
This testcase was reduced by John, thanks!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13617 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-21 16:47:02 +00:00
Chris Lattner
488b72bd7f New testcase that used to cause the unroller to try to unroll the loop 2G times. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13563 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-13 20:43:15 +00:00