aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-10Update for 2.4 release.release_24Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58972 91177308-0d34-0410-b5e6-96231b3b80d8
2008-11-10Merge from mainline.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58967 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-30Merge from mainline.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58460 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-30Merge from mainline.Tanya Lattner
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
2008-10-30Merge from mainline.Tanya Lattner
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
2008-10-30Merge from mainline.Tanya Lattner
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
2008-10-23Merge from mainline. This test was fixed.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58038 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-23Merge from mainline for PR2886.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58033 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-23Merge from mainline.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58032 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-23Merge from mainlineTanya Lattner
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
2008-10-22Fix build error.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58004 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-22Rename bitcastToAPInt to convertToAPInt.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58003 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-22Merge from mainline.Tanya Lattner
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
2008-10-22Merge from mainline.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57957 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-22Merge from mainline. Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57955 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-22Merge from mainlineTanya Lattner
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
2008-10-17remove v[if]cmp functionality from the 2.4 release. These instructions will ↵Tanya Lattner
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
2008-10-17Merge from mainline.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57725 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-17Merge from mainline.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57713 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-17Merge from mainline..Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57708 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-17Merge from mainline.Tanya Lattner
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
2008-10-17Merge from mainline.Tanya Lattner
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
2008-10-17Merge from mainline.Tanya Lattner
Unbreak DbgStopPointInst::getFileName(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57705 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-17Merge from mainline.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57703 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-17Merge from mainline.Tanya Lattner
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
2008-10-17Merge from mainlineTanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57701 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-17Merge from mainline.Tanya Lattner
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
2008-10-17Merge from mainline.Tanya Lattner
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
2008-10-17update win32 project file, patch provided by OvermindDL1 on llvmdev.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57697 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-08Merge from mainline. Tanya Lattner
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
2008-10-08Merge from mainline.Tanya Lattner
Add two forgotten </i>'s. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57296 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-07Merge from mainline.Tanya Lattner
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
2008-10-07Merge from mainline.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57269 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-07Correct version number.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57235 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-07Create 2.4 release branch.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@57229 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-07Add test case for ADDC ADDE expansionAndrew Lenharth
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57228 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-07Note that ADDC and company don't actually expand yet (missing in legalizeAndrew Lenharth
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57226 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-07Mark negative-zero-to-int conversion as Inexact,Dale Johannesen
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
2008-10-07Correctly handle calls with no return values. This fixesDan Gohman
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
2008-10-06Fix typo, fix PR 2865.Devang Patel
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57221 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-06Be more precise about which conversions of NaNsDale Johannesen
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
2008-10-06Set UNIVERSAL_ARCH value.Devang Patel
Fixes build failure when target is i386. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57211 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-06Fix PR2850 and PR2863. Only generate movddup for 128-bit SSE vector shuffles.Evan Cheng
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57210 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-06Temporarily revert functionality change from my previous patch;Dale Johannesen
it is too aggressive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57203 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-06Remove interfaces implemented by dead pass from the list of available passes.Devang Patel
Patch By Matthijs Kooijman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57202 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-06Cosmetic.Evan Cheng
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57200 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-06Update function attributes docs.Devang Patel
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57197 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-06This is an objective-c test, not an objective-c++ one.Evan Cheng
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57193 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-06Mark shortening NaN conversions as Inexact. PR 2856.Dale Johannesen
Improve description of unsupported formats. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57185 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-06It is possible that all functions in one module are not being Devang Patel
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