Vikram S. Adve
6bbfe341dd
Renamed MachienOperand::opIsDef to MachineOperand::opIsDefOnly()
...
and related functions and flags. Fixed several bugs where only
"isDef" was being checked, not "isDefAndUse".
llvm-svn: 6342
2003-05-27 00:06:48 +00:00
Vikram S. Adve
7366fa1aa6
(1) Added special register class containing (for now) %fsr.
...
Fixed spilling of %fcc[0-3] which are part of %fsr.
(2) Moved some machine-independent reg-class code to class TargetRegInfo
from SparcReg{Class,}Info.
(3) Renamed MachienOperand::opIsDef to MachineOperand::opIsDefOnly()
and related functions and flags. Fixed several bugs where only
"isDef" was being checked, not "isDefAndUse".
llvm-svn: 6341
2003-05-27 00:05:23 +00:00
Vikram S. Adve
631006ba48
Renamed opIsDef to opIsDefOnly.
...
llvm-svn: 6340
2003-05-27 00:03:17 +00:00
Vikram S. Adve
8adb9944aa
Added special register class containing (for now) %fsr.
...
Fixed spilling of %fcc[0-3] which are part of %fsr.
Moved some machine-independent reg-class code to class TargetRegInfo
from SparcReg{Class,}Info.
llvm-svn: 6339
2003-05-27 00:02:22 +00:00
Chris Lattner
196897c424
Fix bug: InstCombine/2003-05-26-CastMiscompile.ll
...
llvm-svn: 6338
2003-05-26 23:41:32 +00:00
Chris Lattner
adf7b998bd
New testcase
...
llvm-svn: 6337
2003-05-26 23:41:13 +00:00
Misha Brukman
e3c5e88347
Changed http://tank ... => http://llvm , and removed an extraneous mailto:.
...
llvm-svn: 6335
2003-05-26 00:17:49 +00:00
Vikram S. Adve
3ee4e2a3c1
Bug fix: right shift for int divide-by-power-of-2 was incorrect for
...
negative values. Need to add one to a negative value before right shift!
llvm-svn: 6334
2003-05-25 21:59:47 +00:00
Vikram S. Adve
5f36d741db
Bug fix: padding bytes within a structure should go after each field!
...
llvm-svn: 6333
2003-05-25 21:59:09 +00:00
Vikram S. Adve
5b941461b1
Bug fix: sign-extension was not happening for C = -MININT since C == -C!
...
llvm-svn: 6332
2003-05-25 21:58:11 +00:00
Chris Lattner
dd4307ff2b
Predicate things better
...
llvm-svn: 6331
2003-05-25 16:52:41 +00:00
Misha Brukman
f7c700f6d9
Do not show errors when moving file. The error is shown the first time anyone
...
runs `utils/cvsupdate' since there is no `cvs.out' file for mv to move, and it
is reported as such.
llvm-svn: 6330
2003-05-25 16:38:24 +00:00
Chris Lattner
20ec7bc0db
Fix problem with last checkin.
...
llvm-svn: 6328
2003-05-25 16:15:32 +00:00
Vikram S. Adve
52d5ae62e5
Make case of GetNumOfInt/FloatArgRegs functions to be use lower case
...
like all the other functions.
llvm-svn: 6326
2003-05-25 16:02:05 +00:00
Vikram S. Adve
c9a0a1d728
Add support for compiling varargs functions.
...
llvm-svn: 6325
2003-05-25 15:59:47 +00:00
Misha Brukman
e2402c65d0
Reword to remove reference to how things worked in the past.
...
llvm-svn: 6323
2003-05-24 01:08:43 +00:00
Misha Brukman
0d817c4b2e
Add ability to utilize the code emitter generator (CodeEmitterGen).
...
llvm-svn: 6322
2003-05-24 00:17:12 +00:00
Misha Brukman
a7ec8e1a3e
First cut at the Code Generator using the TableGen methodology.
...
llvm-svn: 6321
2003-05-24 00:15:53 +00:00
Misha Brukman
d21a02ad58
Implement the TargetInstrInfo's createNOPinstr() and isNOPinstr() interface.
...
llvm-svn: 6320
2003-05-24 00:09:50 +00:00
Misha Brukman
23d15a71b8
NOP instructions are pseudo-instructions. We should not have them explicitly in
...
our representation, since they are usually special cases of already-existing
instructions.
This abstracts away methods that let a pass create and verify a NOP instruction,
without relying on a `NOP' enum to be in existence in the target's instruction
info descriptor.
llvm-svn: 6319
2003-05-24 00:08:39 +00:00
Brian Gaeke
627b9f4d6d
Suggest -save-temps instead of -S, -E.
...
llvm-svn: 6318
2003-05-23 21:03:50 +00:00
Brian Gaeke
b752116230
Remove ".bc" from the end of InputFile if it is there, in
...
tools/lli/lli.cpp:main().
llvm-svn: 6317
2003-05-23 20:28:07 +00:00
Brian Gaeke
5bfa37f4df
gccld.cpp:
...
Fix typo in header.
Add IsArchive static method.
Roll LoadLibraryFromDirectory() into LoadLibrary(), and factor
LoadLibraryExactName() out of the result. Instead of treating the current
directory specially, just insert it into LibPaths in the beginning of
main().
Make LoadLibrary() take a "search" flag that says whether to search for the
correct library, or just trust that LibName is right.
Make LinkLibrary() take a "search" flag, and pass it to LoadLibrary().
Change the for-loop over InputFilenames to detect ar archives and link them
in as libraries without searching.
Change the for-loop over Libraries to explicitly turn on the "search" flag
to LinkLibrary() that makes LoadLibrary() search for the correct library
(i.e., when processing -lNAME options.)
llvm-svn: 6316
2003-05-23 20:27:07 +00:00
Chris Lattner
98fa07b1d5
Fix Bug: Linker/2003-04-26-NullPtrLinkProblem.ll
...
This was a problem with constants having their types resolved to some new type,
but there was already a constant of the new type created. Before, these types
were never merged together, now they are.
llvm-svn: 6314
2003-05-23 20:03:32 +00:00
Chris Lattner
f2e299ca68
Remove some cruft, add some methods to allow implementation of bugfix for
...
Bug: Linker/2003-04-26-NullPtrLinkProblem.ll
llvm-svn: 6313
2003-05-23 20:02:05 +00:00
Misha Brukman
39968bbc46
Cleaned up code layout; no functional changes.
...
llvm-svn: 6312
2003-05-23 19:20:57 +00:00
Chris Lattner
5d4589ff34
Minor rewording/cleanups
...
llvm-svn: 6311
2003-05-23 17:13:15 +00:00
Chris Lattner
5759dce959
New testcase identified by Brian Gaeke. Gotta love GCC extensions. :(
...
llvm-svn: 6310
2003-05-23 15:07:31 +00:00
Chris Lattner
2a83e4aeae
Fix a problem brian identified.
...
llvm-svn: 6309
2003-05-23 14:49:32 +00:00
Brian Gaeke
61a05da4d5
Clarify BugDriver.cpp:BugDriver::ParseInputFile()'s return values in its
...
explanatory comment.
llvm-svn: 6308
2003-05-23 05:34:32 +00:00
Chris Lattner
84d0ed920d
Remove long dead code
...
llvm-svn: 6307
2003-05-22 22:00:54 +00:00
Chris Lattner
8d0a71aff8
Remove using declarations
...
llvm-svn: 6306
2003-05-22 22:00:07 +00:00
Chris Lattner
6d06541a90
Add using declarations
...
llvm-svn: 6305
2003-05-22 21:59:35 +00:00
Misha Brukman
7ca74ef252
Cleaned up code layout. No functional changes.
...
llvm-svn: 6304
2003-05-22 21:49:18 +00:00
Chris Lattner
f31a257bfb
Remove using declarations and extraneous #includes
...
llvm-svn: 6303
2003-05-22 21:47:17 +00:00
Chris Lattner
ef76b27a19
Fix static constructor ordering problem
...
llvm-svn: 6302
2003-05-22 21:31:52 +00:00
Misha Brukman
b674a1b95b
Kill `using' directives.
...
llvm-svn: 6301
2003-05-22 21:24:35 +00:00
Chris Lattner
5eef9ffc27
Remove using declarations
...
llvm-svn: 6300
2003-05-22 21:21:43 +00:00
Chris Lattner
0b4913c6dc
Fix testcase
...
llvm-svn: 6299
2003-05-22 20:43:21 +00:00
Chris Lattner
f766437414
New testcase
...
llvm-svn: 6298
2003-05-22 20:43:06 +00:00
Chris Lattner
7333cc10ed
Add documentation for the new cl::CommaSeparated modifier
...
llvm-svn: 6297
2003-05-22 20:36:06 +00:00
Chris Lattner
af933f84c5
add support for an explicit EXPORTED_SYMBOL_LIST
...
llvm-svn: 6296
2003-05-22 20:27:30 +00:00
Chris Lattner
224ae025ef
Make the list accept comma separated names
...
llvm-svn: 6295
2003-05-22 20:27:13 +00:00
Chris Lattner
929f27a3e6
Add new CommaSeparated option modifier
...
llvm-svn: 6294
2003-05-22 20:26:17 +00:00
Chris Lattner
5eb85148bd
Add support for a new "CommaSeparated" modifier
...
llvm-svn: 6293
2003-05-22 20:25:57 +00:00
Chris Lattner
02a168310b
Kill using declarations
...
llvm-svn: 6292
2003-05-22 20:13:16 +00:00
Chris Lattner
a87170a36a
Destroy using declarations
...
llvm-svn: 6291
2003-05-22 20:06:43 +00:00
Chris Lattner
be9911dbf0
Specify a list of symbols that should be exported by the library
...
llvm-svn: 6290
2003-05-22 19:50:30 +00:00
Chris Lattner
ad44cd840b
* Revert to old behavior of ignoring a module if it doesn't contain a main
...
function and no symbols were explicitly marked to be externalized.
* Add new -internalize-public-api-list option that can be used if the symbol
list is small, and making a new file is annoying.
llvm-svn: 6289
2003-05-22 19:48:00 +00:00
Chris Lattner
44457bb5ea
Add option to internalize to allow it to read a file to determine which symbols
...
should not be internalized
llvm-svn: 6288
2003-05-22 19:34:49 +00:00
Chris Lattner
9141f8c2f6
Update to match typename produced by the C frontend
...
llvm-svn: 6287
2003-05-22 19:30:11 +00:00
Chris Lattner
471bd76281
Minor cleanups.
...
This hunk:
- } else if (Src->getNumOperands() == 2 && Src->use_size() == 1) {
+ } else if (Src->getNumOperands() == 2) {
Allows GEP folding to be more aggressive, which reduces the number of instructions
and can dramatically speed up BasicAA in some cases.
llvm-svn: 6286
2003-05-22 19:07:21 +00:00
Chris Lattner
4a20791049
Fix bug: Assembler/2003-05-03-BytecodeReaderProblem.llx
...
by emitting the type planes before any constants (which could be constant
expressions involving undefined types!)
llvm-svn: 6285
2003-05-22 18:35:38 +00:00
Chris Lattner
c56bdc5520
Do not assert fail or crash when a bytecode parse fails!
...
llvm-svn: 6284
2003-05-22 18:26:48 +00:00
Chris Lattner
e69a1b9866
Eliminate the uchar typedef, use unsigned char explicitly
...
llvm-svn: 6283
2003-05-22 18:08:30 +00:00
Chris Lattner
9a1ad97ba0
Make the testcase even more insane
...
llvm-svn: 6280
2003-05-22 15:49:58 +00:00
Chris Lattner
bdf171369d
New testcase
...
llvm-svn: 6279
2003-05-22 15:33:33 +00:00
Chris Lattner
33ae3b4ab4
New testcase
...
llvm-svn: 6278
2003-05-21 23:01:50 +00:00
Chris Lattner
1979e52e86
New testcase that was killing the CFE
...
llvm-svn: 6277
2003-05-21 23:01:35 +00:00
Chris Lattner
9525a33c10
New document
...
llvm-svn: 6275
2003-05-21 22:21:07 +00:00
Chris Lattner
b1c3a648af
New graphic for web page
...
llvm-svn: 6274
2003-05-21 21:05:46 +00:00
Chris Lattner
fa58d79cf2
Fix bug: FunctionResolve/2003-05-21-MissingArguments.ll
...
llvm-svn: 6273
2003-05-21 20:51:52 +00:00
Chris Lattner
6f364249d8
New testcase that crashes the funcresolve pass.
...
llvm-svn: 6272
2003-05-21 20:44:16 +00:00
Chris Lattner
d9b159587b
Allow disabling final cleanups
...
llvm-svn: 6271
2003-05-21 20:38:59 +00:00
Chris Lattner
060f38121e
Fix Bug: BasicAA/2003-05-21-GEP-Problem.ll
...
llvm-svn: 6270
2003-05-21 20:23:26 +00:00
Chris Lattner
56280a1496
Trim testcase a bit
...
llvm-svn: 6269
2003-05-21 19:55:10 +00:00
Chris Lattner
84ed59a372
New testcase identified by joel
...
llvm-svn: 6268
2003-05-21 19:48:33 +00:00
Chris Lattner
2b3ab562f6
Increase odds that this won't bork things
...
llvm-svn: 6267
2003-05-21 19:41:31 +00:00
Misha Brukman
c42dc745db
Fixed `volatile' typo.
...
llvm-svn: 6266
2003-05-21 19:34:28 +00:00
Misha Brukman
f865cc44ab
Cleaned up code layout, spacing, etc. for readability purposes and to be more
...
consistent with the style of LLVM's code base (and itself! it's inconsistent in
some places.)
No functional changes were made.
llvm-svn: 6265
2003-05-21 18:48:06 +00:00
Chris Lattner
7976fd362c
New testcase
...
llvm-svn: 6264
2003-05-21 18:10:53 +00:00
Chris Lattner
6532e427b4
* Fix divide by zero error with empty structs
...
* Empty structs should have ALIGNMENT 1, not SIZE 1.
llvm-svn: 6263
2003-05-21 18:08:44 +00:00
Misha Brukman
2a651d7a0e
Cleaned up code layout, spacing, etc. for readability purposes and to be more
...
consistent with the style of LLVM's code base (and itself! it's inconsistent in
some places.)
No functional changes were made.
llvm-svn: 6262
2003-05-21 18:05:35 +00:00
Misha Brukman
352f7ac072
Namespacified `vector' and `cerr' to always use the `std::' namespace.
...
Eliminated `using' directives.
llvm-svn: 6261
2003-05-21 17:59:06 +00:00
Chris Lattner
38a9bcde76
Add support for shift constant expressions
...
llvm-svn: 6260
2003-05-21 17:49:25 +00:00
Chris Lattner
885cd623c3
New method
...
llvm-svn: 6259
2003-05-21 17:49:08 +00:00
Chris Lattner
d515967513
Fix bugs:
...
Assembler/2003-05-21-MalformedShiftCrash.llx
Assembler/2003-05-21-ConstantShiftExpr.ll
llvm-svn: 6258
2003-05-21 17:48:56 +00:00
Chris Lattner
f7cd479e53
New testcase, found by inspection
...
llvm-svn: 6257
2003-05-21 17:46:02 +00:00
Chris Lattner
cf0920cf7b
New testcase
...
llvm-svn: 6256
2003-05-21 17:34:24 +00:00
Chris Lattner
5bb2315a88
Fix bugs:
...
Assembler/2003-05-21-EmptyStructTest.ll
Assembler/2003-05-21-MalformedStructCrash.llx
llvm-svn: 6255
2003-05-21 16:06:56 +00:00
Chris Lattner
a08b772c5e
Add run string
...
llvm-svn: 6254
2003-05-21 16:05:47 +00:00
Chris Lattner
0250ace0c8
New testcase
...
llvm-svn: 6253
2003-05-21 15:57:25 +00:00
Misha Brukman
25afb65692
I fixed that ``thang'', yo.
...
llvm-svn: 6252
2003-05-20 23:45:36 +00:00
Misha Brukman
373086db75
Hopefully, the final fix for `[Pp]ropogate'.
...
llvm-svn: 6251
2003-05-20 21:01:22 +00:00
Misha Brukman
9392c3ca74
The word `operands' has an `r' in it.
...
llvm-svn: 6250
2003-05-20 20:36:39 +00:00
Misha Brukman
56f4fa10fd
Sparc instruction opcodes now all live under the `V9' namespace.
...
llvm-svn: 6249
2003-05-20 20:32:24 +00:00
Misha Brukman
e5838c4d72
s/convertable/convertible/g
...
llvm-svn: 6248
2003-05-20 18:45:36 +00:00
Misha Brukman
656304bb6c
The plural of `Pass' is Passes, not Pass's.
...
llvm-svn: 6247
2003-05-20 18:39:06 +00:00
Chris Lattner
ccbe566387
Add flexibility
...
llvm-svn: 6246
2003-05-17 22:33:18 +00:00
Chris Lattner
192623ec93
Add support for setjmp/longjmp primitives
...
Patch checked in for Bill Wendling :)
llvm-svn: 6241
2003-05-17 22:26:33 +00:00
Chris Lattner
0ad4f9cf01
Initial test
...
llvm-svn: 6240
2003-05-17 22:18:33 +00:00
Chris Lattner
9f3648bf02
Fix bug: Assembler/2003-05-15-SwitchBug.ll
...
llvm-svn: 6239
2003-05-15 21:30:00 +00:00
Chris Lattner
021249f3f3
Add facilities for building source that is outside of the current directory
...
llvm-svn: 6238
2003-05-15 21:28:55 +00:00
Chris Lattner
00334239b9
New testcase, straight out of the asm manual
...
llvm-svn: 6237
2003-05-15 21:02:11 +00:00
Chris Lattner
f9b586cf24
Add note
...
llvm-svn: 6235
2003-05-15 19:38:39 +00:00
Chris Lattner
cb4d26fb95
Fix bug: Assembler/2003-05-15-AssemblerProblem.llx
...
llvm-svn: 6234
2003-05-15 19:37:21 +00:00
Chris Lattner
1b17357e92
New testcase that breaks the assembler.
...
llvm-svn: 6233
2003-05-15 18:52:08 +00:00
Chris Lattner
652e7bf8a8
Fix long standing bug
...
llvm-svn: 6232
2003-05-15 18:25:13 +00:00
Chris Lattner
0e416df2b2
Fix bug: Analysis/LoopInfo/2003-05-15-NestingProblem.ll
...
llvm-svn: 6230
2003-05-15 18:03:51 +00:00
Chris Lattner
b4cb0090a5
Depends on analyze, not opt
...
llvm-svn: 6229
2003-05-15 18:03:32 +00:00
Chris Lattner
dcc3d96ce3
New directory
...
llvm-svn: 6228
2003-05-15 18:03:12 +00:00
Chris Lattner
5c0c850bf4
New test
...
llvm-svn: 6227
2003-05-15 18:03:03 +00:00
Chris Lattner
ee5970281d
Add new loopinfo test
...
llvm-svn: 6226
2003-05-15 18:02:54 +00:00
Chris Lattner
25fa9718cb
Fix Bug: Linker/2003-05-15-TypeProblem.ll
...
llvm-svn: 6225
2003-05-15 16:30:55 +00:00
Chris Lattner
de6d953b1c
New linker problem from twolf benchmark
...
llvm-svn: 6224
2003-05-15 16:01:32 +00:00
Chris Lattner
d47e611cde
New testcase
...
llvm-svn: 6222
2003-05-14 23:34:17 +00:00
Chris Lattner
f327467e4e
Get rid of really old makefile cruft
...
llvm-svn: 6218
2003-05-14 21:31:31 +00:00
Chris Lattner
515c189dd6
New testcase that breaks CFE
...
llvm-svn: 6217
2003-05-14 21:08:04 +00:00
Chris Lattner
52b807bbee
Ulimit the test, and print out a more interesting output if failure occurs
...
llvm-svn: 6216
2003-05-14 19:54:07 +00:00
Chris Lattner
5ff9b4fd3c
Remove long dead file
...
llvm-svn: 6213
2003-05-14 19:02:27 +00:00
Chris Lattner
3be61a5cda
Fix path problem
...
llvm-svn: 6208
2003-05-14 18:44:22 +00:00
Chris Lattner
9600e8d637
Generalize the script a bit
...
llvm-svn: 6206
2003-05-14 18:39:57 +00:00
Chris Lattner
36b8645e9b
Modernize testcases
...
llvm-svn: 6205
2003-05-14 18:37:03 +00:00
Chris Lattner
3b3276be20
Fix typeos
...
llvm-svn: 6204
2003-05-14 17:53:49 +00:00
Chris Lattner
68cbcc3e66
Add support for more constant expressions
...
llvm-svn: 6203
2003-05-14 17:51:49 +00:00
Chris Lattner
55ed6561a1
Remove unnecessary casts
...
llvm-svn: 6201
2003-05-14 17:51:05 +00:00
Chris Lattner
15285abcbe
Print opaque types
...
llvm-svn: 6200
2003-05-14 17:50:47 +00:00
Chris Lattner
c009d58eb3
Casts are now unnecessary
...
llvm-svn: 6199
2003-05-14 17:50:19 +00:00
Chris Lattner
f2bef422e4
Add some methods to make type safety a bit easier
...
llvm-svn: 6198
2003-05-14 17:49:52 +00:00
Chris Lattner
70694cba0a
New testcase producing assertion failure
...
llvm-svn: 6197
2003-05-14 15:44:54 +00:00
Chris Lattner
a48319c483
Forgot to make test executable
...
llvm-svn: 6196
2003-05-14 14:47:38 +00:00
Chris Lattner
c0fa8dc48d
new testcase
...
llvm-svn: 6195
2003-05-14 14:38:10 +00:00
Chris Lattner
4a5bb95729
Add support for atexit function, remove support for __main function
...
llvm-svn: 6194
2003-05-14 14:21:30 +00:00
Chris Lattner
2537ca318a
Add support for atexit handlers to the JIT, fixing 2003-05-14-AtExit.c
...
llvm-svn: 6193
2003-05-14 13:53:40 +00:00
Chris Lattner
c67e340327
Fix compilation problems with previous checking *blush*
...
llvm-svn: 6191
2003-05-14 13:27:36 +00:00
Chris Lattner
5a9ea75e6b
Add a framework for intercepting system calls
...
llvm-svn: 6190
2003-05-14 13:26:47 +00:00
Chris Lattner
30959f8faa
Dead file
...
llvm-svn: 6189
2003-05-14 13:10:18 +00:00
Chris Lattner
1930a47f04
Minor updates
...
llvm-svn: 6188
2003-05-14 13:09:57 +00:00
Chris Lattner
6563768a92
Initial checkin of crtend.o implementation
...
llvm-svn: 6187
2003-05-14 13:09:41 +00:00
Chris Lattner
6e0ba26b43
New file
...
llvm-svn: 6186
2003-05-14 12:40:20 +00:00
Chris Lattner
58ea8ff469
Fix major problem with appending linkage changes
...
llvm-svn: 6185
2003-05-14 12:11:51 +00:00
Chris Lattner
69f6af1604
Fix bug
...
llvm-svn: 6184
2003-05-14 02:47:13 +00:00
Chris Lattner
a2d3504c24
Search LLVM_LIB_SEARCH_PATH for objects to allow it to find crtend.o
...
Implement minor library linking optimization.
llvm-svn: 6181
2003-05-13 22:14:13 +00:00
Chris Lattner
c2ceed1b38
Implement another getelementptr folding opportunity that arises when
...
linking stuff with appending linkage
llvm-svn: 6180
2003-05-13 21:50:52 +00:00
Chris Lattner
2b383d2ef2
Eliminate using declarations
...
llvm-svn: 6179
2003-05-13 21:37:02 +00:00
Chris Lattner
f779becc5a
Implement linkage of appending global variables!
...
llvm-svn: 6178
2003-05-13 21:33:43 +00:00
Chris Lattner
83dff9da0a
Add uses of the appending variable
...
llvm-svn: 6177
2003-05-13 21:32:48 +00:00
Chris Lattner
473bd55d57
Add new testcase for appending linkage
...
llvm-svn: 6176
2003-05-13 20:48:17 +00:00
Chris Lattner
72fb6731ba
New test for appending linkage
...
llvm-svn: 6175
2003-05-13 20:31:46 +00:00
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
Chris Lattner
e2fe710b80
Remove dead makefile code
...
llvm-svn: 6095
2003-05-11 21:41:43 +00:00
Chris Lattner
38dc69fb12
Switch over to using the New CFE on Sparc
...
llvm-svn: 6094
2003-05-11 21:41:09 +00:00
Chris Lattner
104abc2501
* Remove dead hunk of makefile fragment for dealing with sun compiler
...
* Move LLC code gen stuff into test/Programs/Makefile.programs
llvm-svn: 6089
2003-05-11 18:49:10 +00:00
Chris Lattner
dd5b016d37
Allow llx tests as well
...
llvm-svn: 6088
2003-05-11 18:38:25 +00:00
Chris Lattner
0a55e462a7
Fix a halfway done change to the nightly tester :(
...
llvm-svn: 6084
2003-05-11 15:23:10 +00:00
Chris Lattner
c09c0b9623
Get the nightly tester to detect other kind of testing problems
...
llvm-svn: 6083
2003-05-10 21:40:10 +00:00
Chris Lattner
185045c494
switch main LLI core execution to use an InstVisitor instead of a switch statement
...
llvm-svn: 6081
2003-05-10 21:22:39 +00:00
Chris Lattner
57eed20469
Force overwriting the file if it already exists.
...
llvm-svn: 6080
2003-05-10 21:19:00 +00:00
Chris Lattner
5ab7846d2d
Update column info
...
llvm-svn: 6079
2003-05-10 20:54:55 +00:00
Chris Lattner
bd6771cb25
Fix testcase: SingleSource/UnitTests/2003-05-02-DependantPHI.c
...
llvm-svn: 6074
2003-05-10 20:21:16 +00:00
Joel Stanley
1bf4750f8d
Fixed comment.
...
llvm-svn: 6072
2003-05-10 01:56:42 +00:00