Commit Graph

197 Commits

Author SHA1 Message Date
Chris Lattner
740d3cdabd Remove spaces from function names
While I was at it, I converted functions to new style % name


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2725 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-22 22:28:27 +00:00
Chris Lattner
9488e1bf26 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2724 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-22 22:17:54 +00:00
Chris Lattner
8fba3a0f3a Eliminate usage of function level constant pool
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2450 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-02 21:52:35 +00:00
Chris Lattner
978d57f6a7 Use unified diffs with gnu diff instead of old diffs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2449 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-02 21:51:55 +00:00
Chris Lattner
0ed4833986 Fix for buggy test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2267 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-16 21:31:08 +00:00
Chris Lattner
434c280a91 test/Features should not contain whole programs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1734 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-12 15:21:57 +00:00
Vikram S. Adve
90c511cd18 Added command to build SPARC executable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1730 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-11 22:50:17 +00:00
Vikram S. Adve
289e74a4ba Simple fibonacci test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1729 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-11 22:48:18 +00:00
Chris Lattner
8b309de132 Testcase broken - Entry node of method cannot have predecessors!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1597 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-31 00:25:00 +00:00
Chris Lattner
fa149909ab Failure.sh moved up a level
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1569 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 20:39:56 +00:00
Chris Lattner
9363884abe Initial checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1564 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 19:42:52 +00:00
Chris Lattner
8cb23b2cf9 Change test scripts so that they do not stop on failure, they just print
an error message


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1563 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 18:04:21 +00:00
Chris Lattner
f2a1dbc1e3 Add a path to LD_LIBRARY_PATH so that programs can find the stdC++ libraries
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1505 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-21 06:50:08 +00:00
Chris Lattner
f493a569c3 Update LLVM tests to use new pointer indexing, and remove unsized array test support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1474 91177308-0d34-0410-b5e6-96231b3b80d8
2001-12-14 16:46:53 +00:00
Chris Lattner
13d38cd805 Rename irreducible to cfgstructures.ll Include other interesting structures
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1387 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-26 19:16:37 +00:00
Chris Lattner
f6e54d0ab7 MAke sure diffs match
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1386 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-26 19:15:25 +00:00
Chris Lattner
4d631b85c1 Test array indexing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1349 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-26 17:02:56 +00:00
Chris Lattner
2305b6c3a7 Start testing the new cleangcc pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1067 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-31 06:36:34 +00:00
Chris Lattner
b82f5e7c00 Test bitwise operations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1025 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-29 13:56:42 +00:00
Vikram S. Adve
ffcaa7bb00 Add calls to print results in fib, simpleadd and sumarray.
indirectcall is the same as fib but uses function pointers.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@996 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-28 21:16:34 +00:00
Vikram S. Adve
b40acbe8c2 Added a string global variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@796 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-14 23:13:45 +00:00
Chris Lattner
5bc20c7fe3 New testcase for testing constant pointers to globals
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@784 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-13 07:16:11 +00:00
Chris Lattner
a6f1ac40a4 Use null keyword instead of kludge
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@778 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-13 07:05:51 +00:00
Chris Lattner
49ca7aae44 Add more function call and prototype specific tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@777 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-13 07:05:07 +00:00
Vikram S. Adve
25e288fd92 Moved first function to "simpleadd.ll".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@716 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-10 20:12:15 +00:00
Chris Lattner
a861f966fd Fix broken testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@705 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-03 14:59:11 +00:00
Chris Lattner
da25716296 Adjust test cases to match the fact that methods are now explicit pointer values, not explicit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@702 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-03 14:50:12 +00:00
Chris Lattner
fe5e584cd9 Modify testcases for new LLVM const syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@698 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-03 01:48:04 +00:00
Chris Lattner
6b12936ac3 Add a test for the new null keyword
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@669 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-30 22:47:06 +00:00
Chris Lattner
ead19d51ba Fix testcases to handle new syntax for construction and initializeation
Test constants


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@600 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-18 04:38:50 +00:00
Chris Lattner
70cc3397f8 Implement global variable support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@530 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-10 07:58:01 +00:00
Chris Lattner
6a8f91e3e9 New testcase to deal with lists
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@503 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 23:00:46 +00:00
Chris Lattner
f074cfc59e Executables all live in a nice centralized location now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@500 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 22:58:50 +00:00
Chris Lattner
fd84023f5f Check opaque, abstract, and recursive type handling
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@479 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 20:59:20 +00:00
Chris Lattner
12ecac65f5 Symboltables are sorted in the bytecode, so no problems here!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@468 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 16:58:39 +00:00
Chris Lattner
877fbcd8d7 New test cases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-28 18:04:10 +00:00
Chris Lattner
dc693b8965 Changes to make test scripts more reliable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-28 17:40:15 +00:00
Chris Lattner
8ce0669a56 Work around a few 'sorting issues' with the bytecode output that causes the bytecode
not to be bit for bit identical.  This is a hack and should be fixed in the future


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-26 16:30:18 +00:00
Chris Lattner
c628b1790d New test for varargs functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-25 22:49:12 +00:00
Vikram S. Adve
71de0cea1d Version of testmemory to test alloca, load and store.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-21 12:46:12 +00:00
Chris Lattner
21341d3108 New test case for prototype support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-15 21:43:17 +00:00
Chris Lattner
91e1596c16 add coverage of newly implemented instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-08 23:23:30 +00:00
Chris Lattner
0908309e3c Neg instruction removed. Cast instruction implemented.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-08 04:57:15 +00:00
Chris Lattner
b351ab8c1b Put in test of SCCP. Watch out though, because we need to sort the
constant pool for the final check to work.  :(


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-27 23:37:22 +00:00
Chris Lattner
a6b1f53451 Updates to support
* Changes in PHI node structure
* We now run DCE after inlining because it helps clean up LOTS of inlining
  gunk.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-11 15:05:02 +00:00
Chris Lattner
c42266a870 inlining can change methods a second time, so don't rerun inliner when testing for
differences in optimizations


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-07 17:00:00 +00:00
Chris Lattner
009505452b Initial revision
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-06 20:29:01 +00:00