summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update for 2.4 release.release_24Tanya Lattner2008-11-101-5/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58972 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-11-101-355/+410
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58967 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-302-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58460 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-302-4/+5
| | | | | | | | | | | | | | Move the code that adds the DeadMachineInstructionElimPass from target-independent code to target-specific code. This prevents it from running on targets that aren't using fast-isel. In addition to saving compile time, this addresses the problem that not all targets are prepared for it. In order to use this pass, all instructions must declare all their fixed uses and defs of physical registers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58425 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-301-1/+1
| | | | | | | | fix PR2953, an off-by-one error handling formatted i/o. Thanks to Török Edwin for the awesome reduced testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58424 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-302-4/+31
| | | | | | | | | | | | | Fix a nasty miscompilation of 176.gcc on linux/x86 where we synthesized a memset using 16-byte XMM stores, but where the stack realignment code didn't work. Until it does (PR2962) disable use of xmm regs in memcpy and memset formation for linux and other targets with insufficiently aligned stacks. This is part of PR2888 git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58423 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline. This test was fixed.Tanya Lattner2008-10-231-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58038 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline for PR2886.Tanya Lattner2008-10-239-15/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58033 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-232-8/+46
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58032 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainlineTanya Lattner2008-10-231-1/+1
| | | | | | | Fix incorrect testing for the end of the both strings in CStrInCStrNoCase. This could cause a read-out-of-bounds error if s2 is smaller than s1. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58031 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix build error.Tanya Lattner2008-10-221-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58004 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename bitcastToAPInt to convertToAPInt.Tanya Lattner2008-10-221-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58003 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-221-72/+6
| | | | | | | | | Disallow the construction of SCEVs with could-not-compute operands. Catch CNCs returned by BinomialCoefficient and don't try to operate with them. This replaces the previous fix for PR2857. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57958 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-222-47/+107
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57957 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline. Tanya Lattner2008-10-222-1/+62
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57955 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainlineTanya Lattner2008-10-221-1/+1
| | | | | | | Fix a bug that prevented llvm-extract -delete from working. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57953 91177308-0d34-0410-b5e6-96231b3b80d8
* remove v[if]cmp functionality from the 2.4 release. These instructions will ↵Tanya Lattner2008-10-176-187/+1
| | | | | | be removed or substantially changes in mainline after the 2.4 release and we don't want to have to support these for backwards compatibility purposes. Patch by Chris. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57732 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-171-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57725 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-171-25/+39
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57713 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline..Tanya Lattner2008-10-172-8/+169
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57708 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-171-1/+1
| | | | | | | | Properly handle linking of strong alias with weak function, this fixes PR2883 git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57707 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-172-0/+52
| | | | | | | | | Also update sub-register intervals after a trivial computation is rematt'ed for a copy instruction. PR2775. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57706 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-171-1/+1
| | | | | | | Unbreak DbgStopPointInst::getFileName(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57705 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-171-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57703 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-171-18/+24
| | | | | | | | | Improve the description on the getelementptr instruction. It should now better define what the instruction does. This also makes it clear that getelementptr can index into a vector type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57702 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainlineTanya Lattner2008-10-172-98/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57701 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-1719-70/+74
| | | | | | | | | | Change CALLSEQ_BEGIN and CALLSEQ_END to take TargetConstant's as parameters instead of raw Constants. This prevents the constants from being selected by the isel pass, fixing PR2735. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57700 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-172-10/+23
| | | | | | | Fix PR2697 by rewriting the '(X / pos) op neg' logic. This also changes a couple other cases for clarity, but shouldn't affect correctness. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57698 91177308-0d34-0410-b5e6-96231b3b80d8
* update win32 project file, patch provided by OvermindDL1 on llvmdev.Tanya Lattner2008-10-171-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57697 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline. Tanya Lattner2008-10-081-3/+3
| | | | | | | | | Add missing semicolumns in parser rules, those missing semicolumns are required to compile with the latest Bison. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57297 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-081-2/+2
| | | | | | | Add two forgotten </i>'s. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57296 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-071-1/+1
| | | | | | | | Fix disagreement about where the attributes are ~0 != ~0U. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57278 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge from mainline.Tanya Lattner2008-10-072-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57269 91177308-0d34-0410-b5e6-96231b3b80d8
* Correct version number.Tanya Lattner2008-10-072-37/+41
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57235 91177308-0d34-0410-b5e6-96231b3b80d8
* Create 2.4 release branch.Tanya Lattner2008-10-070-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57229 91177308-0d34-0410-b5e6-96231b3b80d8
* Add test case for ADDC ADDE expansionAndrew Lenharth2008-10-071-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57228 91177308-0d34-0410-b5e6-96231b3b80d8
* Note that ADDC and company don't actually expand yet (missing in legalizeAndrew Lenharth2008-10-074-2/+65
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57226 91177308-0d34-0410-b5e6-96231b3b80d8
* Mark negative-zero-to-int conversion as Inexact,Dale Johannesen2008-10-071-1/+2
| | | | | | | | | | | since -0.0 can't be represented as an int. This prevents llvm from reducing -0.0 to a load-and-convert of int 0. Fixes ieee.exp/mzero[2356].c in gcc testsuite. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57224 91177308-0d34-0410-b5e6-96231b3b80d8
* Correctly handle calls with no return values. This fixesDan Gohman2008-10-071-1/+1
| | | | | | | 2006-01-23-UnionInit on x86-64 when inlining is not enabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57223 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typo, fix PR 2865.Devang Patel2008-10-062-2/+33
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57221 91177308-0d34-0410-b5e6-96231b3b80d8
* Be more precise about which conversions of NaNsDale Johannesen2008-10-063-3/+49
| | | | | | | | | | are Inexact. (These are not Inexact as defined by IEEE754, but that seems like a reasonable way to abstract what happens: information is lost.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57218 91177308-0d34-0410-b5e6-96231b3b80d8
* Set UNIVERSAL_ARCH value.Devang Patel2008-10-061-1/+2
| | | | | | | Fixes build failure when target is i386. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57211 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR2850 and PR2863. Only generate movddup for 128-bit SSE vector shuffles.Evan Cheng2008-10-062-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57210 91177308-0d34-0410-b5e6-96231b3b80d8
* Temporarily revert functionality change from my previous patch;Dale Johannesen2008-10-061-2/+1
| | | | | | | | it is too aggressive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57203 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove interfaces implemented by dead pass from the list of available passes.Devang Patel2008-10-062-7/+28
| | | | | | | Patch By Matthijs Kooijman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57202 91177308-0d34-0410-b5e6-96231b3b80d8
* Cosmetic.Evan Cheng2008-10-061-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57200 91177308-0d34-0410-b5e6-96231b3b80d8
* Update function attributes docs.Devang Patel2008-10-061-9/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57197 91177308-0d34-0410-b5e6-96231b3b80d8
* This is an objective-c test, not an objective-c++ one.Evan Cheng2008-10-061-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57193 91177308-0d34-0410-b5e6-96231b3b80d8
* Mark shortening NaN conversions as Inexact. PR 2856.Dale Johannesen2008-10-061-6/+9
| | | | | | | | Improve description of unsupported formats. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57185 91177308-0d34-0410-b5e6-96231b3b80d8
* It is possible that all functions in one module are not being Devang Patel2008-10-061-5/+2
| | | | | | | optimized for size. Set OptForSize for each function separately. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57182 91177308-0d34-0410-b5e6-96231b3b80d8