summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Give a good error message when we try to jit inline asm.Chris Lattner2006-08-261-0/+3
| | | | llvm-svn: 29891
* Completely change the way that joining with physregs is implemented. ThisChris Lattner2006-08-253-35/+76
| | | | | | | | paves the way for future changes, increases coallescing opportunities (in theory, not witnessed in practice), and eliminates the really expensive LiveIntervals::overlapsAliases method. llvm-svn: 29890
* Add a comment.Evan Cheng2006-08-251-0/+1
| | | | llvm-svn: 29889
* Tidy up.Jim Laskey2006-08-252-4/+14
| | | | llvm-svn: 29888
* Fix a crash related to updating Phi nodes in the original header block. ↵Owen Anderson2006-08-251-1/+2
| | | | | | | | This was causing a crash in 175.vpr llvm-svn: 29887
* Add an assertion to check that we're really preserving LCSSA.Owen Anderson2006-08-251-0/+2
| | | | llvm-svn: 29886
* Encode pc-relative conditional branch offset as pc+(num of bytes / 4). TheEvan Cheng2006-08-252-2/+2
| | | | | | | | | asm printer will print it as offset*4. e.g. bne cr0, $+8. The PPC code emitter was expecting the offset to be number of instructions, not number of bytes. This fixes a whole bunch of JIT failures. llvm-svn: 29885
* For PR797:Reid Spencer2006-08-2511-79/+70
| | | | | | | Make the Win32 code exception free (untested/uncompiled) which forced some interface changes which had ripple effect. This should be the last of 797. llvm-svn: 29884
* Doh! Commit the change that turns ON -fno-exceptions.Reid Spencer2006-08-251-3/+3
| | | | llvm-svn: 29883
* For PR797:Reid Spencer2006-08-258-44/+32
| | | | | | | | | | | | | | | Final commit for this bug. This removes the last EH holdouts in LLVM and turns off exception support by using the -fno-exceptions option. This leads to the following reduction in library and executable sizes: DEBUG BUILD RELEASE BUILD before after delta before after delta lib 162,328K 157,616K 4,712 17,864K 16,416K 1,448K bin 571,444K 557,156K 14,288 63,296K 56,996K 6,300K Debug Improvement: 19,000K (2.59%) Release Improvement: 7,748K (9.55%) llvm-svn: 29882
* Consolidate callee saved register information so that it can me used by debugJim Laskey2006-08-252-20/+53
| | | | | | information and exception handling. llvm-svn: 29881
* Fix some comments.Jim Laskey2006-08-251-1/+4
| | | | llvm-svn: 29880
* Allow for register numbers > 31.Jim Laskey2006-08-251-4/+14
| | | | llvm-svn: 29879
* test case for varargs functionsRafael Espindola2006-08-251-0/+33
| | | | llvm-svn: 29877
* use @ for commentsRafael Espindola2006-08-253-14/+61
| | | | | | | store LR in an arbitrary stack slot add support for writing varargs functions llvm-svn: 29876
* For PR797:Reid Spencer2006-08-258-228/+316
| | | | | | | Remove exception throwing/handling from lib/Bytecode, and adjust its users to compensate for changes in the interface. llvm-svn: 29875
* Reapply the indvars patch, since nothing blew up last night.Owen Anderson2006-08-251-0/+1
| | | | llvm-svn: 29874
* Fix a race condition in the makefile that broke grawp's tester last night.Chris Lattner2006-08-251-0/+1
| | | | llvm-svn: 29873
* Bring Xcode project up to date.Jim Laskey2006-08-251-49/+162
| | | | llvm-svn: 29872
* Get closer to handling globals correctly. We now generally get them in theNate Begeman2006-08-252-7/+106
| | | | | | right section. llvm-svn: 29871
* Fix a bug introduced by a change in the Archive::writeToDisk interface.Reid Spencer2006-08-251-1/+1
| | | | llvm-svn: 29870
* Fix a bug caused by change in the interface of Archive::writeToDisk.Reid Spencer2006-08-251-4/+4
| | | | llvm-svn: 29869
* Revert my previous patch. Since there are some major changes that went in ↵Owen Anderson2006-08-251-3/+0
| | | | | | | | | today, I'm going to wait to put this in HEAD until tomorrow, so as not to clutter the nightly tester. llvm-svn: 29868
* Specify that indvars actually preserve LCSSA. This has been done for a ↵Owen Anderson2006-08-251-0/+3
| | | | | | | | while, but I forgot to put in the analysis usage. llvm-svn: 29867
* For PR797:Reid Spencer2006-08-245-71/+91
| | | | | | | Remove exception handling from the bytecode archiver and adjust the llvm-ar tool to accommodate the new interfaces. llvm-svn: 29866
* When replacing value numbers, make sure to compactify the value # space.Chris Lattner2006-08-241-0/+12
| | | | llvm-svn: 29865
* We compile this into:Chris Lattner2006-08-241-18/+0
| | | | | | | | | | | | _swap_16: slwi r2, r3, 24 rlwimi r2, r3, 8, 8, 15 srwi r3, r2, 16 blr now. llvm-svn: 29864
* Owen implemented this.Chris Lattner2006-08-241-11/+0
| | | | llvm-svn: 29863
* Take advantage of the recent improvements to the liveintervals set (trackingChris Lattner2006-08-245-237/+391
| | | | | | | | | | | | | | | | | | | instructions which define each value#) to simplify and improve the coallescer. In particular, this patch: 1. Implements iterative coallescing. 2. Reverts an unsafe hack from handlePhysRegDef, superceeding it with a better solution. 3. Implements PR865, "coallescing" away the second copy in code like: A = B ... B = A This also includes changes to symbolically print registers in intervals when possible. llvm-svn: 29862
* For PR738:Reid Spencer2006-08-243-5/+10
| | | | | | | Demote check for bison from error to warning and make sure that the makefile can handle an empty definition for BISON variable. llvm-svn: 29861
* Remove a character to avoid line exceeding 80 cols.Reid Spencer2006-08-241-1/+1
| | | | llvm-svn: 29860
* Implement unrolling of multiblock loops. This significantly improves theOwen Anderson2006-08-242-127/+143
| | | | | | | | utility of the LoopUnroll pass. Also, add a testcase for multiblock-loop unrolling. llvm-svn: 29859
* For PR797:Reid Spencer2006-08-241-42/+37
| | | | | | | Adjust implementation to match the new interface after exception handling was removed in the Unix verison. NOTE: this hasn't been compiled yet! llvm-svn: 29858
* add the "eq" condition codeRafael Espindola2006-08-243-8/+13
| | | | | | implement a movcond instruction llvm-svn: 29857
* create a generic bcond instruction that has a conditional code argumentRafael Espindola2006-08-244-8/+34
| | | | llvm-svn: 29856
* Remove a FIXME. Don't use strlcpy that isn't available on non-BSD platformsReid Spencer2006-08-241-9/+7
| | | | | | | and ensure that a memory overrun won't occur while still writing Length bytes in the outstring function. llvm-svn: 29855
* initial support for branchesRafael Espindola2006-08-244-3/+43
| | | | llvm-svn: 29854
* update some commentsChris Lattner2006-08-241-2/+1
| | | | llvm-svn: 29853
* Correctly attribute file author & remote tabsNate Begeman2006-08-231-20/+20
| | | | llvm-svn: 29852
* Make sure that both non-asm file types are marked as experimentalNate Begeman2006-08-231-1/+2
| | | | llvm-svn: 29851
* Initial checkin of the Mach-O emitter. There's plenty of fixmes, but itNate Begeman2006-08-238-47/+1118
| | | | | | does emit linkable .o files in very simple cases. llvm-svn: 29850
* For PR797:Reid Spencer2006-08-231-1/+0
| | | | | | | This library no longer throws nor handles exceptions, so turn off the REQUIRES_EH flag. llvm-svn: 29849
* For PR797:Reid Spencer2006-08-231-83/+75
| | | | | | | Final remove of exception handling from this file. lib/System can no longer throw exceptions so there's no need for try/catch blocks here. llvm-svn: 29848
* Turn off exception handling for this library. It no longer throws norReid Spencer2006-08-231-1/+0
| | | | | | handles exceptions. llvm-svn: 29847
* For PR797:Reid Spencer2006-08-239-128/+146
| | | | | | | Final removal of exceptions from lib/System and adjustment of users to accommodate. llvm-svn: 29846
* Fix constructor documentation.Reid Spencer2006-08-231-7/+4
| | | | llvm-svn: 29845
* If unable to create tmp. file on disk then return LTO_WRITE_FAILURE status.Devang Patel2006-08-231-1/+1
| | | | llvm-svn: 29844
* For PR797:Reid Spencer2006-08-237-47/+40
| | | | | | | Eliminate exception throwing from Path::renamePathOnDisk and adjust its users correspondingly. llvm-svn: 29843
* Make the ProgramName variable a std::string so we can eliminate the pathReid Spencer2006-08-231-26/+14
| | | | | | | | | | | | | | portion fo the program name via sys::Path().getLast(). This makes error messages more readable since this is invariably used only in error messages. Instead of: /path/to/llvm/bin/directory/toolname: error message we will now get: toolname: error message Also, since we always have a program name (even if its defaulted), don't check to see if it is set or not when generating error messages. This eliminates a bunch of constant strings, saving a little under 1K of data. llvm-svn: 29842
* For PR797:Reid Spencer2006-08-235-74/+111
| | | | | | Remove exception throwing from Path::getDirectoryContents and its users. llvm-svn: 29841
OpenPOWER on IntegriCloud