Evan Cheng [Tue, 1 Aug 2006 01:07:48 +0000 (01:07 +0000)]
Pass N by reference to select functions to prevent gcc from allocating more stack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29423
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 1 Aug 2006 01:03:13 +0000 (01:03 +0000)]
PIC jump table entries are always 32-bit even in 64-bit mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29422
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 1 Aug 2006 00:07:58 +0000 (00:07 +0000)]
If dejagnu is not found, tell the user instead of bombing out with an
obscure error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29421
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 31 Jul 2006 23:26:50 +0000 (23:26 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29420
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 31 Jul 2006 23:25:17 +0000 (23:25 +0000)]
New testcase for PR850.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29419
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Mon, 31 Jul 2006 21:37:55 +0000 (21:37 +0000)]
Changed to a new directory for opensource checkout.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29418
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Mon, 31 Jul 2006 20:38:13 +0000 (20:38 +0000)]
handle GlobalValue::InternalLinkage in doFinalization
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29417
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Mon, 31 Jul 2006 20:18:49 +0000 (20:18 +0000)]
Fix a couple typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29416
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 31 Jul 2006 19:01:58 +0000 (19:01 +0000)]
Remove an unneeded match condition: the type check for root node has been
moved to outside the actual select routine.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29415
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 31 Jul 2006 18:43:10 +0000 (18:43 +0000)]
Remove a duplicate pattern.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29414
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 31 Jul 2006 18:42:49 +0000 (18:42 +0000)]
Remove a duplicate pattern/
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29413
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 31 Jul 2006 17:31:48 +0000 (17:31 +0000)]
testcase for PR854.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29412
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 30 Jul 2006 17:46:37 +0000 (17:46 +0000)]
Testcase for GCC bug28417, ensuring that we don't start getting it wrong
somehow.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29410
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Sat, 29 Jul 2006 04:27:34 +0000 (04:27 +0000)]
fix externals
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29409
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 29 Jul 2006 01:57:19 +0000 (01:57 +0000)]
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29408
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 29 Jul 2006 01:50:53 +0000 (01:50 +0000)]
New testcase for PR853
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29407
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Jul 2006 22:52:11 +0000 (22:52 +0000)]
Remove a redundant syscall.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29405
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 28 Jul 2006 22:51:01 +0000 (22:51 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29404
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 28 Jul 2006 22:50:07 +0000 (22:50 +0000)]
Fix the --with-extra-options to use the correct variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29403
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Jul 2006 22:36:17 +0000 (22:36 +0000)]
Modify setStatusInfoOnDisk to not throw an exception.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29402
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Jul 2006 22:32:09 +0000 (22:32 +0000)]
Update win32 for Path::getStatusInfo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29401
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Jul 2006 22:29:50 +0000 (22:29 +0000)]
Modify Path::eraseFromDisk to not throw an exception.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29400
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Jul 2006 22:21:01 +0000 (22:21 +0000)]
Finegrainify namespacification, minor cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29399
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Jul 2006 22:09:37 +0000 (22:09 +0000)]
Update comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29398
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Jul 2006 22:08:23 +0000 (22:08 +0000)]
WriteBytecodeToFile actually can't throw.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29397
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Jul 2006 22:07:54 +0000 (22:07 +0000)]
formatting cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29396
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Jul 2006 22:03:44 +0000 (22:03 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29395
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Jul 2006 22:01:01 +0000 (22:01 +0000)]
libsupport still throws.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29394
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Jul 2006 22:00:24 +0000 (22:00 +0000)]
Exceptions are thrown by and through this library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29393
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Jul 2006 21:55:54 +0000 (21:55 +0000)]
WriteBytecodeToFile throws, so this needs EH info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29392
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Jul 2006 21:11:31 +0000 (21:11 +0000)]
Fix handling of asm specifiers for external globals. This unbreaks many programs
on leopard in the jit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29391
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Jul 2006 20:58:47 +0000 (20:58 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29390
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Fri, 28 Jul 2006 18:30:52 +0000 (18:30 +0000)]
Reverted previous commit. Thanks, Chris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29388
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Fri, 28 Jul 2006 18:16:00 +0000 (18:16 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29386
91177308-0d34-0410-b5e6-
96231b3b80d8
Patrick Jenkins [Fri, 28 Jul 2006 18:03:01 +0000 (18:03 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29385
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Jul 2006 16:45:47 +0000 (16:45 +0000)]
Fix some ppc64 issues with vector code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29384
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 28 Jul 2006 06:33:41 +0000 (06:33 +0000)]
Can't spell.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29383
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 28 Jul 2006 06:05:06 +0000 (06:05 +0000)]
Some clean up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29382
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 28 Jul 2006 05:05:00 +0000 (05:05 +0000)]
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).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29381
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Jul 2006 05:03:42 +0000 (05:03 +0000)]
The smallvector dtor should destroy the elements.
Implement pop_back.
Chage some code to use 'iterator' instead of T*. This unbreaks operators=.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29380
91177308-0d34-0410-b5e6-
96231b3b80d8
Patrick Jenkins [Fri, 28 Jul 2006 01:19:28 +0000 (01:19 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29379
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 28 Jul 2006 01:19:22 +0000 (01:19 +0000)]
Clean up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29378
91177308-0d34-0410-b5e6-
96231b3b80d8
Patrick Jenkins [Fri, 28 Jul 2006 01:06:18 +0000 (01:06 +0000)]
Removed some unneccesary printing from the nightly tester.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29377
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 28 Jul 2006 01:03:48 +0000 (01:03 +0000)]
Rename IsFoldableBy to CanBeFoldedleBy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29376
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 28 Jul 2006 00:49:31 +0000 (00:49 +0000)]
Node selected into address mode cannot be folded.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29374
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 28 Jul 2006 00:47:19 +0000 (00:47 +0000)]
Remove InFlightSet hack. No longer needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29373
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Jul 2006 00:17:20 +0000 (00:17 +0000)]
Print empty inline asms as a blank line instead of:
# InlineAsm Start
# InlineAsm End
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29372
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 28 Jul 2006 00:10:59 +0000 (00:10 +0000)]
Another duh. Determine topological order before any target node is added.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29371
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 27 Jul 2006 23:35:40 +0000 (23:35 +0000)]
Brain cramp..
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29370
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 27 Jul 2006 23:19:00 +0000 (23:19 +0000)]
Undo last commit, which was committed accidentally.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29369
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 27 Jul 2006 23:00:30 +0000 (23:00 +0000)]
Changes to support cross-compiling LLVM. The GenLibDeps.pl script needs to
have a compile-host version of "nm", not build-host. In order to effect this
we must use autoconf to determine the correct "nm" to use and propagate that
through the makefiles, through llvm-config and finally to GenLibDeps.pl as
an optional argument.
Patch contributed by Anton Korobeynikov. Thanks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29368
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 27 Jul 2006 22:35:40 +0000 (22:35 +0000)]
Allocating too large an array for ReachibilityMatrix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29367
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 27 Jul 2006 22:10:00 +0000 (22:10 +0000)]
Calculate the portion of reachbility matrix on demand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29366
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 27 Jul 2006 21:19:10 +0000 (21:19 +0000)]
isNonImmUse is replaced by IsFoldableBy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29365
91177308-0d34-0410-b5e6-
96231b3b80d8
Patrick Jenkins [Thu, 27 Jul 2006 21:01:39 +0000 (21:01 +0000)]
Removed some unneccesary print statemnts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29362
91177308-0d34-0410-b5e6-
96231b3b80d8
Patrick Jenkins [Thu, 27 Jul 2006 20:21:26 +0000 (20:21 +0000)]
ChangeDir now returns the correct value
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29361
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Thu, 27 Jul 2006 20:05:00 +0000 (20:05 +0000)]
Working toward registration of register allocators.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29360
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 27 Jul 2006 19:59:34 +0000 (19:59 +0000)]
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29359
91177308-0d34-0410-b5e6-
96231b3b80d8
Patrick Jenkins [Thu, 27 Jul 2006 19:22:06 +0000 (19:22 +0000)]
Fixed a stupid error where changedir returned false upon success.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29357
91177308-0d34-0410-b5e6-
96231b3b80d8
Patrick Jenkins [Thu, 27 Jul 2006 19:00:01 +0000 (19:00 +0000)]
Added more descriptive output to singlesource,multisource tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29353
91177308-0d34-0410-b5e6-
96231b3b80d8
Patrick Jenkins [Thu, 27 Jul 2006 18:28:50 +0000 (18:28 +0000)]
Removed some clutter that was left over from development.
Changed how changedir worked. Hopefully now when it fails it will tell us why.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29352
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 27 Jul 2006 18:21:10 +0000 (18:21 +0000)]
Resolve BB references with relocation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29351
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 27 Jul 2006 18:19:51 +0000 (18:19 +0000)]
Pass -fstrict-aliasing to the compiler when building a release build on darwin.
Darwin doesn't default to it being on.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29350
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 27 Jul 2006 18:18:13 +0000 (18:18 +0000)]
Add basic block machine relocation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29349
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 27 Jul 2006 17:33:48 +0000 (17:33 +0000)]
synchronizeICache removeed from TargetJITInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29348
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Thu, 27 Jul 2006 16:46:58 +0000 (16:46 +0000)]
Code cleanups, per review
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29347
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 27 Jul 2006 16:44:36 +0000 (16:44 +0000)]
Use reachbility information to determine whether a node can be folded into another during isel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29346
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Thu, 27 Jul 2006 13:40:34 +0000 (13:40 +0000)]
Fixed a typo in Evan's submisson.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29345
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Thu, 27 Jul 2006 11:38:51 +0000 (11:38 +0000)]
emit global constants
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29344
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 27 Jul 2006 07:36:47 +0000 (07:36 +0000)]
AssignNodeIds should return unsigned.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29343
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 27 Jul 2006 06:41:31 +0000 (06:41 +0000)]
Correct a misunderstanding about cross-compiling. Anton's changes don't
cause LLVM to become a cross-compiler but rather cross-compile LLVM so that
it can execute on a platform other than the build host.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29339
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 27 Jul 2006 06:40:15 +0000 (06:40 +0000)]
Remove NodeDepth
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29338
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 27 Jul 2006 06:39:06 +0000 (06:39 +0000)]
AssignNodeIds assign each node in the DAG an unique id.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29337
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 27 Jul 2006 06:38:21 +0000 (06:38 +0000)]
Remove NodeDepth; Add NodeId which is a unique id per node per DAG. It can only be set by SelectionDAG.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29336
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 27 Jul 2006 06:36:49 +0000 (06:36 +0000)]
Let each target specific isel provide routine to check if a chain producing node is foldable by another.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29335
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 27 Jul 2006 06:33:55 +0000 (06:33 +0000)]
Move synchronizeICache from TargetJITInfo into a static function in JITEmitter.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29334
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 27 Jul 2006 05:51:34 +0000 (05:51 +0000)]
Fix section title to use lower case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29332
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 27 Jul 2006 05:43:30 +0000 (05:43 +0000)]
Add instructions for building a cross-compiler. Patch contributed by
Anton Korobeynikov.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29330
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 27 Jul 2006 05:29:25 +0000 (05:29 +0000)]
Reduce the padding on the doc_notes style. It was set to 1em which leaves
the shaded box with a large blank border, wasting space.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29328
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 27 Jul 2006 04:58:33 +0000 (04:58 +0000)]
Bump version #
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29327
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 27 Jul 2006 04:24:14 +0000 (04:24 +0000)]
Add some advice
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29324
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 27 Jul 2006 03:38:08 +0000 (03:38 +0000)]
Use std::copy instead of custom loops to take advantage of STL optimizations.
Add a new append method for appending a range.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29323
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Thu, 27 Jul 2006 02:05:13 +0000 (02:05 +0000)]
Use the predicate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29322
91177308-0d34-0410-b5e6-
96231b3b80d8
Patrick Jenkins [Thu, 27 Jul 2006 01:24:35 +0000 (01:24 +0000)]
I made a stupid mistake when adding support for -use-gmake. ~PJ
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29321
91177308-0d34-0410-b5e6-
96231b3b80d8
Patrick Jenkins [Thu, 27 Jul 2006 01:17:17 +0000 (01:17 +0000)]
added support for the -use-gmake option. This will come in handy when running the test on SunOS.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29319
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Thu, 27 Jul 2006 01:13:04 +0000 (01:13 +0000)]
Support jump tables when in PIC relocation model
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29318
91177308-0d34-0410-b5e6-
96231b3b80d8
Jim Laskey [Thu, 27 Jul 2006 01:12:23 +0000 (01:12 +0000)]
Prevent creation of MachineDebugInfo for intel unless it is darwin. RC842.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29317
91177308-0d34-0410-b5e6-
96231b3b80d8
Patrick Jenkins [Thu, 27 Jul 2006 01:03:46 +0000 (01:03 +0000)]
This change will allow support for SunOS to the testing script. It adds a check to see if we're running on SunOS and if so, then uses gmake instead of make.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29316
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 27 Jul 2006 00:04:14 +0000 (00:04 +0000)]
Fix warning on linux
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29314
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 26 Jul 2006 23:55:56 +0000 (23:55 +0000)]
Fix a case where LegalizeAllNodesNotLeadingTo could take exponential time.
This manifested itself as really long time to compile
Regression/CodeGen/Generic/2003-05-28-ManyArgs.ll on ppc.
This is PR847.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29313
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 26 Jul 2006 23:06:27 +0000 (23:06 +0000)]
Fix for bug 840. Only use noinline attribute if gcc version >= 3.4
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29311
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 26 Jul 2006 21:49:52 +0000 (21:49 +0000)]
New entry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29310
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 26 Jul 2006 21:14:56 +0000 (21:14 +0000)]
For PR814:
Provide support for making cross-compiling builds. See the PR for details.
Patch provided by Anton Korobeynikov. Thanks, Anton!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29309
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 26 Jul 2006 21:14:04 +0000 (21:14 +0000)]
Avoid a "scary" make warning for the 1.8 release. This should be reenabled
right after 1.8 "ships".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29308
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 26 Jul 2006 21:12:04 +0000 (21:12 +0000)]
Rename RelocModel::PIC to PIC_, to avoid conflicts with -DPIC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29307
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 26 Jul 2006 21:08:09 +0000 (21:08 +0000)]
Remove an extraneous use of ${ac_exeext}. Patch by Anton Korobeynikov.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29306
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 26 Jul 2006 20:45:12 +0000 (20:45 +0000)]
For PR814:
Add a macro for getting the build host extension for executable. Patch
contributed by Anton Korobeynikov. Thanks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29304
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 26 Jul 2006 20:44:24 +0000 (20:44 +0000)]
allow this to pass on non-x86 machines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29303
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 26 Jul 2006 20:37:11 +0000 (20:37 +0000)]
Fix the build on win32
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29302
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 26 Jul 2006 20:33:20 +0000 (20:33 +0000)]
Don't test an example
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29301
91177308-0d34-0410-b5e6-
96231b3b80d8