1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
Commit Graph

3248 Commits

Author SHA1 Message Date
Vikram S. Adve
86af89c10d 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
4c6db60979 Add a test for the new null keyword
llvm-svn: 669
2001-09-30 22:47:06 +00:00
Chris Lattner
b18a515a72 Add commands to assemble and compile a .ll file
llvm-svn: 661
2001-09-28 14:13:09 +00:00
Chris Lattner
51fd4a7b61 Adding the tool to the path doesn't break anything anymore
llvm-svn: 658
2001-09-28 00:07:10 +00:00
Chris Lattner
266f87aa6e Un-neuter makefile
llvm-svn: 623
2001-09-18 16:33:36 +00:00
Vikram S. Adve
ec23ce1838 Folded inssel*.ll into select.ll.
llvm-svn: 621
2001-09-18 13:10:26 +00:00
Chris Lattner
62945f1db1 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
8700ac4be2 Remove invalid testcase
llvm-svn: 578
2001-09-14 20:30:58 +00:00
Chris Lattner
6f3d1ecb02 Remove invalid testcase. Unneccesary anyways
llvm-svn: 577
2001-09-14 20:28:57 +00:00
Chris Lattner
3c7f663441 Add new test cases
llvm-svn: 576
2001-09-14 20:03:04 +00:00
Chris Lattner
6ff8e8edce * 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
9d1629d688 Implement global variable support
llvm-svn: 530
2001-09-10 07:58:01 +00:00
Chris Lattner
2ce19d622f Rerun backend tests if as or llc is changed
llvm-svn: 518
2001-09-09 21:58:36 +00:00
Chris Lattner
3fd41842ab New testcase to deal with lists
llvm-svn: 503
2001-09-07 23:00:46 +00:00
Chris Lattner
45ee843b29 Executables all live in a nice centralized location now
llvm-svn: 500
2001-09-07 22:58:50 +00:00
Chris Lattner
09b2eeca24 Executables have moved into centralized location
llvm-svn: 499
2001-09-07 22:58:33 +00:00
Chris Lattner
2eb5212b3e 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
faedbcfe71 Make makefile not depend on where stuff is installed!!!!
llvm-svn: 491
2001-09-07 21:24:25 +00:00
Chris Lattner
71a712208e Check opaque, abstract, and recursive type handling
llvm-svn: 479
2001-09-07 20:59:20 +00:00
Chris Lattner
d6a18a62fb Symboltables are sorted in the bytecode, so no problems here!
llvm-svn: 468
2001-09-07 16:58:39 +00:00
Chris Lattner
6efa48a664 Make fib be more real
llvm-svn: 413
2001-09-01 01:47:52 +00:00
Vikram S. Adve
df6573f9e8 Add testcodegen target, and restrict which tests are run for it.
llvm-svn: 407
2001-08-28 23:26:44 +00:00
Chris Lattner
51db95102c Rename start methods to main so interpreter works easier
llvm-svn: 367
2001-08-23 17:08:51 +00:00
Vikram S. Adve
6744f75d62 Had used the wrong option.
llvm-svn: 339
2001-07-31 21:52:28 +00:00
Vikram S. Adve
e4a92c4029 Added support for testing instruction selection on all but 2 tests.
llvm-svn: 333
2001-07-31 21:45:56 +00:00
Chris Lattner
073fef2722 New test cases
llvm-svn: 329
2001-07-28 18:04:10 +00:00
Chris Lattner
c58c25ffc5 Changes to make test scripts more reliable
llvm-svn: 319
2001-07-28 17:40:15 +00:00
Chris Lattner
2143cd75d3 Add test of string constants
llvm-svn: 318
2001-07-28 17:39:46 +00:00
Chris Lattner
77257cae1a 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
22608144d9 New test for varargs functions
llvm-svn: 301
2001-07-25 22:49:12 +00:00
Chris Lattner
5f04e68842 New test case
llvm-svn: 268
2001-07-22 05:00:34 +00:00
Vikram S. Adve
49857bdb28 Version of testmemory to test alloca, load and store.
llvm-svn: 238
2001-07-21 12:46:12 +00:00
Vikram S. Adve
f2f366d343 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
3e7e97bee3 New test case for prototype support
llvm-svn: 199
2001-07-15 21:43:17 +00:00
Chris Lattner
897bdcb525 New testcase from GCC doing array operations
llvm-svn: 192
2001-07-15 00:18:50 +00:00
Chris Lattner
510ad81e40 add coverage of newly implemented instructions.
llvm-svn: 165
2001-07-08 23:23:30 +00:00
Chris Lattner
7a7ddef47e Neg instruction removed. Cast instruction implemented.
llvm-svn: 156
2001-07-08 04:57:15 +00:00
Chris Lattner
8a17049e91 Added analyze to path for SetupOpt script
llvm-svn: 135
2001-07-03 15:30:10 +00:00
Chris Lattner
3bf48240c7 Add analyze tool to path for Setup script
llvm-svn: 134
2001-07-03 15:29:48 +00:00
Chris Lattner
d616582a7a 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
d4d1cb558c 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
e6765b8961 Add a useless phi for testing with InductionVariables stuff
llvm-svn: 64
2001-06-24 04:06:23 +00:00
Chris Lattner
cd4c711ff3 Add a test case: an irreducible flow graph.
llvm-svn: 46
2001-06-21 03:00:25 +00:00
Chris Lattner
8deb3830c0 New test case
llvm-svn: 43
2001-06-20 23:05:53 +00:00
Chris Lattner
152920646b Add a more complex test case
llvm-svn: 37
2001-06-20 19:27:18 +00:00
Chris Lattner
848c35ed1f 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
89e70547f2 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
e6b9b382e2 Initial revision
llvm-svn: 2
2001-06-06 20:29:01 +00:00