Rafael Espindola
95035cf001
implement LowerConstantPool and LowerGlobalAddress
...
llvm-svn: 29433
2006-08-01 12:58:43 +00:00
Jim Laskey
300f1979c8
Adding to credibility.
...
llvm-svn: 29432
2006-08-01 09:01:40 +00:00
Evan Cheng
9631a60020
Added AssignTopologicalOrder() to assign each node an unique id based on their topological order.
...
llvm-svn: 29431
2006-08-01 08:20:41 +00:00
Evan Cheng
45af287957
Factor topological order code to SelectionDAG. Clean up.
...
llvm-svn: 29430
2006-08-01 08:17:22 +00:00
Reid Spencer
227a8425ac
Fix a problem with use of undefined variables. Print an error message if
...
the first argument is omitted. Attempt to use a standard/default font.
Make the generation of the DOT file readable.
llvm-svn: 29429
2006-08-01 08:09:03 +00:00
Anton Korobeynikov
98484fc568
Minor fix due to recent API changes
...
llvm-svn: 29428
2006-08-01 08:07:22 +00:00
Reid Spencer
69e2232a1b
Update to include new options.
...
llvm-svn: 29426
2006-08-01 07:38:39 +00:00
Reid Spencer
a16d650fe8
Update library dependency information, describe new libraries, talk a
...
little about llvm-config as a source for help with library dependencies.
llvm-svn: 29425
2006-08-01 07:32:01 +00:00
Anton Korobeynikov
8e5425f0cf
Added myself to credits.
...
llvm-svn: 29424
2006-08-01 07:06:00 +00:00
Evan Cheng
70c4ae4bda
Pass N by reference to select functions to prevent gcc from allocating more stack.
...
llvm-svn: 29423
2006-08-01 01:07:48 +00:00
Evan Cheng
6ae6ac1216
PIC jump table entries are always 32-bit even in 64-bit mode.
...
llvm-svn: 29422
2006-08-01 01:03:13 +00:00
Chris Lattner
aba76b76b1
If dejagnu is not found, tell the user instead of bombing out with an
...
obscure error.
llvm-svn: 29421
2006-08-01 00:07:58 +00:00
Chris Lattner
524129dd64
Fix PR850 and CodeGen/X86/2006-07-31-SingleRegClass.ll.
...
The CFE refers to all single-register constraints (like "A") by their 16-bit
name, even though the 8 or 32-bit version of the register may be needed.
The X86 backend should realize what is going on and redecode the name back
to its proper form.
llvm-svn: 29420
2006-07-31 23:26:50 +00:00
Chris Lattner
9e3d4c2693
New testcase for PR850.
...
llvm-svn: 29419
2006-07-31 23:25:17 +00:00
Jim Laskey
b4c0347901
Changed to a new directory for opensource checkout.
...
llvm-svn: 29418
2006-07-31 21:37:55 +00:00
Rafael Espindola
7cc2d19fc1
handle GlobalValue::InternalLinkage in doFinalization
...
llvm-svn: 29417
2006-07-31 20:38:13 +00:00
Jim Laskey
88b5e790b5
Fix a couple typos.
...
llvm-svn: 29416
2006-07-31 20:18:49 +00:00
Evan Cheng
c1163d2fa7
Remove an unneeded match condition: the type check for root node has been
...
moved to outside the actual select routine.
llvm-svn: 29415
2006-07-31 19:01:58 +00:00
Evan Cheng
ac8be4338c
Remove a duplicate pattern.
...
llvm-svn: 29414
2006-07-31 18:43:10 +00:00
Evan Cheng
2af3a67902
Remove a duplicate pattern/
...
llvm-svn: 29413
2006-07-31 18:42:49 +00:00
Chris Lattner
8f5dcd716a
testcase for PR854.
...
llvm-svn: 29412
2006-07-31 17:31:48 +00:00
Chris Lattner
f0fe42350f
Testcase for GCC bug28417, ensuring that we don't start getting it wrong
...
somehow.
llvm-svn: 29410
2006-07-30 17:46:37 +00:00
Andrew Lenharth
e3cbd4b9f9
fix externals
...
llvm-svn: 29409
2006-07-29 04:27:34 +00:00
Chris Lattner
85492427f2
Instead of blindly looking past constantexpr casts, actually constant
...
fold them. This correctly truncates constants that are too large for the
destination slot and makes the code easier to understand. This fixes PR853
and Regression/CodeGen/X86/2006-07-28-AsmPrint-Long-As-Pointer.ll
llvm-svn: 29408
2006-07-29 01:57:19 +00:00
Chris Lattner
47925f2e6c
New testcase for PR853
...
llvm-svn: 29407
2006-07-29 01:50:53 +00:00
Chris Lattner
e58f7408d0
Remove a redundant syscall.
...
llvm-svn: 29405
2006-07-28 22:52:11 +00:00
Evan Cheng
149130ad6b
Split each select function for a particular opcode into multiple ones. One
...
per possible ValueType of the node. e.g. Select_add is split into Select_add_i8,
Select_add_i16, etc.
For opcodes which do not produce a non-chain result, it is split on the
ValueType of its first non-chain operand. e.g. Select_store.
On X86 / Mac OS X, Select_store used to be the largest function. It had a stack
frame size of 8.5k. Now the largest one is Store_i32 with a frame size of 3.1k.
llvm-svn: 29404
2006-07-28 22:51:01 +00:00
Reid Spencer
84749edc34
Fix the --with-extra-options to use the correct variable.
...
llvm-svn: 29403
2006-07-28 22:50:07 +00:00
Chris Lattner
60c5064538
Modify setStatusInfoOnDisk to not throw an exception.
...
llvm-svn: 29402
2006-07-28 22:36:17 +00:00
Chris Lattner
60fbecabf8
Update win32 for Path::getStatusInfo
...
llvm-svn: 29401
2006-07-28 22:32:09 +00:00
Chris Lattner
3cec109967
Modify Path::eraseFromDisk to not throw an exception.
...
llvm-svn: 29400
2006-07-28 22:29:50 +00:00
Chris Lattner
2091cc86af
Finegrainify namespacification, minor cleanups
...
llvm-svn: 29399
2006-07-28 22:21:01 +00:00
Chris Lattner
6496902d6f
Update comments.
...
llvm-svn: 29398
2006-07-28 22:09:37 +00:00
Chris Lattner
5dbafa8aad
WriteBytecodeToFile actually can't throw.
...
llvm-svn: 29397
2006-07-28 22:08:23 +00:00
Chris Lattner
5d836f3f49
formatting cleanups
...
llvm-svn: 29396
2006-07-28 22:07:54 +00:00
Chris Lattner
4857253d98
Change Path::getStatusInfo to return a boolean and error string on an error
...
instead of throwing an exception. This reduces the amount of code that is
exposed to exceptions (e.g. FileUtilities), though it is clearly only one step
along the way.
llvm-svn: 29395
2006-07-28 22:03:44 +00:00
Chris Lattner
6da9d8ecf9
libsupport still throws.
...
llvm-svn: 29394
2006-07-28 22:01:01 +00:00
Chris Lattner
212accac44
Exceptions are thrown by and through this library.
...
llvm-svn: 29393
2006-07-28 22:00:24 +00:00
Chris Lattner
91c3733cac
WriteBytecodeToFile throws, so this needs EH info.
...
llvm-svn: 29392
2006-07-28 21:55:54 +00:00
Chris Lattner
e3861501e6
Fix handling of asm specifiers for external globals. This unbreaks many programs
...
on leopard in the jit.
llvm-svn: 29391
2006-07-28 21:11:31 +00:00
Chris Lattner
ebb592be39
Make functions with an "asm" name propagate that asm name into the cbe.c file.
...
This fixes link errors on programs with these on targets with prefixes.
llvm-svn: 29390
2006-07-28 20:58:47 +00:00
John Criswell
6878ce38aa
Reverted previous commit. Thanks, Chris.
...
llvm-svn: 29388
2006-07-28 18:30:52 +00:00
John Criswell
4e31ae8611
Added in the LGPL text and copyright information. This needs to be
...
included in the distribution.
Also added the glibc LICENSES file, which should be included as well.
llvm-svn: 29386
2006-07-28 18:16:00 +00:00
Patrick Jenkins
752d52cbb6
Updating the comments above SplitFunctionsOutOfModule in ExtractFunction.cpp to reflect the changes made to that function. Specifically I am removing the FIXME comment because the issue has been addressed.
...
llvm-svn: 29385
2006-07-28 18:03:01 +00:00
Chris Lattner
8298265042
Fix some ppc64 issues with vector code.
...
llvm-svn: 29384
2006-07-28 16:45:47 +00:00
Evan Cheng
e8071ecc3b
Can't spell.
...
llvm-svn: 29383
2006-07-28 06:33:41 +00:00
Evan Cheng
2e94538b8e
Some clean up.
...
llvm-svn: 29382
2006-07-28 06:05:06 +00:00
Reid Spencer
9372247ed5
For PR848:
...
1. Get the path to the pwd binary (/bin/pwd usually) from configure.
2. Use that path to run pwd in all path variables set in Makefile.config.in
The hope is that these changes will resolve symlinks to physical paths. This
should work on all platforms where the binary pwd defaults to printing
physical paths. The shell version of pwd generally doesn't (it will print
the symlink path).
llvm-svn: 29381
2006-07-28 05:05:00 +00:00
Chris Lattner
ddc61724b3
The smallvector dtor should destroy the elements.
...
Implement pop_back.
Chage some code to use 'iterator' instead of T*. This unbreaks operators=.
llvm-svn: 29380
2006-07-28 05:03:42 +00:00
Patrick Jenkins
b417a5c166
This commit improves bugpoints speed. On my G4 this changed caused kimwitu++ to run through bugpoint in 1091.15 seconds (user + system time). The time it took to run this on my G4 before I made these changes is 1420.82 seconds (user + system time). This is a speedup of about 5.5 minutes.
...
This is faster because SplitFunctionsOutOfModule no longer calls Clone Module and then removes the functions it doesnt want from the module returned. Instead it creates a module and copies over the specified functions, making changes to the new and old module where neccessary. This reduces the memory demand.
llvm-svn: 29379
2006-07-28 01:19:28 +00:00