Commit Graph

28554 Commits

Author SHA1 Message Date
Vikram S. Adve 96654a04db testmemory and sumarray now work with instruction selection.
llvm-svn: 715
2001-10-10 20:10:48 +00:00
Chris Lattner f208dcfa2b Fix broken testcase
llvm-svn: 705
2001-10-03 14:59:11 +00:00
Chris Lattner 23356658b3 Adjust test cases to match the fact that methods are now explicit pointer values, not explicit
llvm-svn: 702
2001-10-03 14:50:12 +00:00
Chris Lattner 02a9c0a081 Modify testcases for new LLVM const syntax
llvm-svn: 698
2001-10-03 01:48:04 +00:00
Chris Lattner 9b316883ed Add path to as so it doesn't find llvm as if that path is set.
llvm-svn: 687
2001-10-01 00:50:36 +00:00
Chris Lattner 2ef89c99b3 Exclude a couple of tests that the regalloc stuff doesn't handle yet
llvm-svn: 686
2001-10-01 00:40:49 +00:00
Vikram S. Adve 35622c3fc0 Add different "cast constant value" for several possible types.
Note these are actually generated by Phis with constant operands.

llvm-svn: 685
2001-10-01 00:23:12 +00:00
Chris Lattner edcc613706 Add a test for the new null keyword
llvm-svn: 669
2001-09-30 22:47:06 +00:00
Chris Lattner 17fe55defd Add commands to assemble and compile a .ll file
llvm-svn: 661
2001-09-28 14:13:09 +00:00
Chris Lattner 34696621d8 Adding the tool to the path doesn't break anything anymore
llvm-svn: 658
2001-09-28 00:07:10 +00:00
Chris Lattner c36515c32f Un-neuter makefile
llvm-svn: 623
2001-09-18 16:33:36 +00:00
Vikram S. Adve 338f4cc397 Folded inssel*.ll into select.ll.
llvm-svn: 621
2001-09-18 13:10:26 +00:00
Chris Lattner 5751150169 Fix testcases to handle new syntax for construction and initializeation
Test constants

llvm-svn: 600
2001-09-18 04:38:50 +00:00
Chris Lattner 59c9403c7e Remove invalid testcase
llvm-svn: 578
2001-09-14 20:30:58 +00:00
Chris Lattner 52a3873f30 Remove invalid testcase. Unneccesary anyways
llvm-svn: 577
2001-09-14 20:28:57 +00:00
Chris Lattner 4dcbbd5379 Add new test cases
llvm-svn: 576
2001-09-14 20:03:04 +00:00
Chris Lattner 16dd09a7bb * Clean up InstrForest
* Fix ins sel problem, test case:
void "foo" (int *%x, int *%y)

begin
        seteq int *%x, %y
        ret void
end

llvm-svn: 552
2001-09-12 01:28:49 +00:00
Chris Lattner da9755002f Implement global variable support
llvm-svn: 530
2001-09-10 07:58:01 +00:00
Chris Lattner 8cc2749e2a Rerun backend tests if as or llc is changed
llvm-svn: 518
2001-09-09 21:58:36 +00:00
Chris Lattner 9210ecaed8 New testcase to deal with lists
llvm-svn: 503
2001-09-07 23:00:46 +00:00
Chris Lattner c0a673f133 Executables all live in a nice centralized location now
llvm-svn: 500
2001-09-07 22:58:50 +00:00
Chris Lattner 43840bd6f6 Executables have moved into centralized location
llvm-svn: 499
2001-09-07 22:58:33 +00:00
Chris Lattner 7170360d74 Add llc path to setup
Make code gen simpler, don't drop extra files all over the place

llvm-svn: 494
2001-09-07 22:13:44 +00:00
Chris Lattner c6b8a071b6 Make makefile not depend on where stuff is installed!!!!
llvm-svn: 491
2001-09-07 21:24:25 +00:00
Chris Lattner fc8566a1ed Check opaque, abstract, and recursive type handling
llvm-svn: 479
2001-09-07 20:59:20 +00:00
Chris Lattner 5cc42aa810 Symboltables are sorted in the bytecode, so no problems here!
llvm-svn: 468
2001-09-07 16:58:39 +00:00
Chris Lattner 3b78fa378e Make fib be more real
llvm-svn: 413
2001-09-01 01:47:52 +00:00
Vikram S. Adve 1f98eb43e5 Add testcodegen target, and restrict which tests are run for it.
llvm-svn: 407
2001-08-28 23:26:44 +00:00
Chris Lattner 7e0eec9a85 Rename start methods to main so interpreter works easier
llvm-svn: 367
2001-08-23 17:08:51 +00:00
Vikram S. Adve 5abe128752 Had used the wrong option.
llvm-svn: 339
2001-07-31 21:52:28 +00:00
Vikram S. Adve a223748a52 Added support for testing instruction selection on all but 2 tests.
llvm-svn: 333
2001-07-31 21:45:56 +00:00
Chris Lattner bf22504107 New test cases
llvm-svn: 329
2001-07-28 18:04:10 +00:00
Chris Lattner 44b939a328 Changes to make test scripts more reliable
llvm-svn: 319
2001-07-28 17:40:15 +00:00
Chris Lattner b58fdf0e5e Add test of string constants
llvm-svn: 318
2001-07-28 17:39:46 +00:00
Chris Lattner 3a7aa63841 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

llvm-svn: 306
2001-07-26 16:30:18 +00:00
Chris Lattner 6bd07a6f51 New test for varargs functions
llvm-svn: 301
2001-07-25 22:49:12 +00:00
Chris Lattner 941978e1bf New test case
llvm-svn: 268
2001-07-22 05:00:34 +00:00
Vikram S. Adve 18f60c7082 Version of testmemory to test alloca, load and store.
llvm-svn: 238
2001-07-21 12:46:12 +00:00
Vikram S. Adve 6546f97d2f Used a bigger constant in loopfunc.ll that doesn't fit in immed field.
llvm-svn: 237
2001-07-21 12:44:24 +00:00
Chris Lattner c7801d21f7 New test case for prototype support
llvm-svn: 199
2001-07-15 21:43:17 +00:00
Chris Lattner abc1609342 New testcase from GCC doing array operations
llvm-svn: 192
2001-07-15 00:18:50 +00:00
Chris Lattner f20469c1ab add coverage of newly implemented instructions.
llvm-svn: 165
2001-07-08 23:23:30 +00:00
Chris Lattner a682182f64 Neg instruction removed. Cast instruction implemented.
llvm-svn: 156
2001-07-08 04:57:15 +00:00
Chris Lattner 9559178a84 Added analyze to path for SetupOpt script
llvm-svn: 135
2001-07-03 15:30:10 +00:00
Chris Lattner d27d05967d Add analyze tool to path for Setup script
llvm-svn: 134
2001-07-03 15:29:48 +00:00
Chris Lattner 4cee8d8ffb Miscellaneous cleanups:
* Convert post to pre-increment for for loops
  * Use generic programming more
  * Use new Value::cast* instructions
  * Use new Module, Method, & BasicBlock forwarding methods
  * Use new facilities in STLExtras.h
  * Use new Instruction::isPHINode() method

llvm-svn: 96
2001-06-27 23:41:11 +00:00
Chris Lattner e32de63e07 Put in test of SCCP. Watch out though, because we need to sort the
constant pool for the final check to work.  :(

llvm-svn: 93
2001-06-27 23:37:22 +00:00
Chris Lattner 72bd8ccbac Add a useless phi for testing with InductionVariables stuff
llvm-svn: 64
2001-06-24 04:06:23 +00:00
Chris Lattner c3dcb5bced Add a test case: an irreducible flow graph.
llvm-svn: 46
2001-06-21 03:00:25 +00:00
Chris Lattner 4f67265ba5 New test case
llvm-svn: 43
2001-06-20 23:05:53 +00:00
Chris Lattner a6b0157879 Add a more complex test case
llvm-svn: 37
2001-06-20 19:27:18 +00:00
Chris Lattner 2b82b181a2 Updates to support
* Changes in PHI node structure
* We now run DCE after inlining because it helps clean up LOTS of inlining
  gunk.

llvm-svn: 26
2001-06-11 15:05:02 +00:00
Chris Lattner cc45ae3d49 inlining can change methods a second time, so don't rerun inliner when testing for
differences in optimizations

llvm-svn: 12
2001-06-07 17:00:00 +00:00
Chris Lattner 2f7c963559 Initial revision
llvm-svn: 2
2001-06-06 20:29:01 +00:00