Chris Lattner
09e2b44f84
Clean up cast
...
llvm-svn: 6174
2003-05-13 20:29:17 +00:00
Chris Lattner
9c105cd27f
Clean up #includes
...
llvm-svn: 6173
2003-05-13 20:21:19 +00:00
Chris Lattner
922f4f2bd4
Fix bug: CBackend/2003-05-13-VarArgFunction.ll
...
In C, a prototype with no arguments is varargs. A prototype that takes void
has zero args.
llvm-svn: 6172
2003-05-13 20:15:37 +00:00
Chris Lattner
c50e3700ad
New testcase
...
llvm-svn: 6171
2003-05-13 20:11:21 +00:00
Chris Lattner
828367d75a
Add support for the LLVM C++ frontend
...
llvm-svn: 6167
2003-05-13 20:06:00 +00:00
Chris Lattner
e29bbd4a2e
Make test cases executable
...
llvm-svn: 6166
2003-05-13 19:50:01 +00:00
Chris Lattner
4bee5558d4
Make testcase executable
...
llvm-svn: 6165
2003-05-13 19:40:31 +00:00
Chris Lattner
4ed31ceb94
New testcase
...
llvm-svn: 6164
2003-05-13 18:09:44 +00:00
Chris Lattner
62f5887f03
Add test for handling ptrmem_cst
...
llvm-svn: 6163
2003-05-12 23:34:59 +00:00
Chris Lattner
0a2baca8f0
Make test more interesting
...
llvm-svn: 6162
2003-05-12 23:33:00 +00:00
Chris Lattner
0077497a15
Add first C++ test
...
llvm-svn: 6161
2003-05-12 23:22:51 +00:00
Chris Lattner
4dc3fcaff3
Fix bug: Dominators/2003-05-12-UnreachableCode.ll
...
llvm-svn: 6158
2003-05-12 22:35:13 +00:00
Chris Lattner
8321cc49b3
New testcase
...
llvm-svn: 6157
2003-05-12 22:28:15 +00:00
Chris Lattner
ea8bf50b09
New file
...
llvm-svn: 6156
2003-05-12 22:25:24 +00:00
Chris Lattner
df705a6d02
Add a disable-verify option
...
llvm-svn: 6155
2003-05-12 22:12:44 +00:00
Chris Lattner
ebc5f1944e
Move static stuff to an anonymous namespace
...
llvm-svn: 6154
2003-05-12 22:08:58 +00:00
Chris Lattner
0895025b30
Fix bug: LoopPreheaders/2003-05-12-PreheaderExitOfChild.ll
...
llvm-svn: 6153
2003-05-12 22:04:34 +00:00
Chris Lattner
a7aebc9b2c
New testcase
...
llvm-svn: 6152
2003-05-12 21:57:41 +00:00
Chris Lattner
3fa7b77ddf
Make abort more explicit
...
llvm-svn: 6151
2003-05-12 21:16:26 +00:00
Chris Lattner
d4e5409f35
Remove the assertion failure of course... doh
...
llvm-svn: 6150
2003-05-12 20:39:39 +00:00
Chris Lattner
7ae106bc5e
Enable more tests
...
llvm-svn: 6149
2003-05-12 20:39:30 +00:00
Chris Lattner
5069283493
Implement casts from unsigned integers to floating point
...
llvm-svn: 6148
2003-05-12 20:36:13 +00:00
Chris Lattner
5baf6530c2
Add tests for casts from unsigned integers to floats
...
llvm-svn: 6147
2003-05-12 20:35:29 +00:00
Chris Lattner
6c906adb73
Make error messages more useful than jsut an abort
...
llvm-svn: 6146
2003-05-12 20:16:58 +00:00
Chris Lattner
b1eee00034
Remove wierd printout
...
llvm-svn: 6145
2003-05-12 20:10:12 +00:00
Chris Lattner
1103e8349d
Use a kill, not a dead definition, update comment
...
llvm-svn: 6131
2003-05-12 17:37:30 +00:00
Chris Lattner
778b947bfc
Fix bug: CWriter/2003-05-12-IntegerSizeWarning.c
...
llvm-svn: 6128
2003-05-12 15:39:31 +00:00
Chris Lattner
499a56867f
New testcase
...
llvm-svn: 6127
2003-05-12 15:34:39 +00:00
Chris Lattner
9fa8e4c5ba
Make regression tests fail if any warnings are emitted
...
llvm-svn: 6126
2003-05-12 15:33:52 +00:00
Chris Lattner
26891626fc
Fix Bug: ConstProp/2003-05-12-DivideError.ll
...
llvm-svn: 6125
2003-05-12 15:26:25 +00:00
Chris Lattner
007c69ddf8
Testcase which kills the constant folder
...
llvm-svn: 6124
2003-05-12 15:18:53 +00:00
Chris Lattner
09eb76ddfd
Fix Bug: Assembler/2003-05-12-MinIntProblem.llx
...
llvm-svn: 6123
2003-05-12 15:13:52 +00:00
Chris Lattner
250c68dc5c
New bug distilled from aha program
...
llvm-svn: 6122
2003-05-12 15:06:20 +00:00
Chris Lattner
a95548f56c
Print filename correctly
...
llvm-svn: 6119
2003-05-12 14:32:04 +00:00
Chris Lattner
966e1a20ce
The JIT is the default mode for LLI now
...
llvm-svn: 6118
2003-05-12 14:31:57 +00:00
Chris Lattner
51ae817fd6
* Keep LiveVariable information more up-to-date and consistent
...
* *** Finally mark values that are inputs to PHIs as killed when appropriate.
This should make the generated code quite a bit better. For example, the
local-ra will not have to spill PHI inputs at the end of predecessor BB's
anymore.
llvm-svn: 6117
2003-05-12 14:28:28 +00:00
Chris Lattner
2e50ac75a0
Fix bug where we could iterate off the end of a basic block
...
llvm-svn: 6116
2003-05-12 14:26:38 +00:00
Chris Lattner
584bae4733
* Keep the BBMap around as long as the pass is live
...
* Change getVarInfo to take real virtual register numbers and offset them
itself. This has caused me so much grief, it's not even funny.
llvm-svn: 6115
2003-05-12 14:24:00 +00:00
Chris Lattner
e24ae25363
Beef up interface, move getVarInfo out-of-line.
...
llvm-svn: 6114
2003-05-12 14:23:04 +00:00
Chris Lattner
786bd8849a
Do not insert multiple initializations for the same value in a PHI node
...
llvm-svn: 6113
2003-05-12 14:22:21 +00:00
Chris Lattner
bd854dafec
Fix N^2 algorithm
...
llvm-svn: 6112
2003-05-12 04:08:54 +00:00
Chris Lattner
bf4f5dc428
Add old test
...
llvm-svn: 6111
2003-05-12 04:06:38 +00:00
Chris Lattner
00ee7cfa83
* Fix several comments
...
* Update LiveVar info better, fixing bug: Jello/2003-05-11-PHIRegAllocBug.ll
llvm-svn: 6110
2003-05-12 03:55:21 +00:00
Chris Lattner
5a78ee85c6
Fix tab infestation!
...
llvm-svn: 6109
2003-05-12 03:54:14 +00:00
Chris Lattner
065eadeb8a
Expand API for updating live var info.
...
Expose iterators, not const-iterators.
Rename method that was VERY misleading
llvm-svn: 6108
2003-05-12 03:51:30 +00:00
Chris Lattner
73868ac331
Simplify testcase a bit more
...
llvm-svn: 6107
2003-05-12 02:31:48 +00:00
Chris Lattner
dd4cd15626
New testcase that crashes Jello
...
llvm-svn: 6106
2003-05-12 02:27:05 +00:00
Chris Lattner
b78244f9e1
Make sure that globals are emitted AFTER the passmanager is set up for the JIT,
...
because the globals may refer to functions that need to be compiled!
llvm-svn: 6105
2003-05-12 02:14:34 +00:00
Chris Lattner
78da4f069d
Checkin old test
...
llvm-svn: 6102
2003-05-11 22:46:23 +00:00
Chris Lattner
1f5b201071
Add info about the LLVM_LIB_SEARCH_PATH envvar
...
llvm-svn: 6096
2003-05-11 21:50:06 +00:00