Jakob Stoklund Olesen
8575110ae1
Revert "Change coalescer complexity from N^2 to N logN by changing one letter."
...
This reverts commit 98776. It broke the llvm-gcc boot strap.
llvm-svn: 98784
2010-03-18 00:23:47 +00:00
Evan Cheng
68333f5c6e
X86 address mode matching code MatchAddressRecursively does some aggressive hack which require doing a RAUW. It may end up deleting some SDNode up stream. It should avoid referencing deleted nodes.
...
llvm-svn: 98780
2010-03-17 23:58:35 +00:00
Devang Patel
7976f6f03c
Debug info intrinsic does not intefer during tail call optimization.
...
llvm-svn: 98778
2010-03-17 23:52:37 +00:00
Johnny Chen
274a0d3794
Revert 98745 with respect to the addition of NEONFrm subformats for disassembly.
...
There is a better way coming up.
llvm-svn: 98777
2010-03-17 23:26:50 +00:00
Jakob Stoklund Olesen
6589f7152e
Change coalescer complexity from N^2 to N logN by changing one letter.
...
Remove ugly hack that aborted the coalescer before using N^2 time.
This affects functions with very complicated live intervals for physical
registers, i.e. functions with thousands of function calls.
llvm-svn: 98776
2010-03-17 23:21:58 +00:00
Johnny Chen
0910b5afac
Fixed a bug in the IT mask printing where T means the cond bit in the mask
...
matches that of Firstcond[0] and E means otherwise. The Firstcond[0] is also
tagged in the Mask to facilitate Asm printing. The disassembler also depends
on this arrangement. This is similar to what's described in A2.5.2 ITSTATE.
Ran:
utils/lit/lit.py test/CodeGen/ARM test/CodeGen/Thumb test/CodeGen/Thumb2
successfully.
llvm-svn: 98775
2010-03-17 23:14:23 +00:00
Johnny Chen
8609782366
Refines 98745 so that it only contains the patch related to the output of the
...
addressing modes to omit the '+' from the assembler syntax #+/-<imm> or +/-<Rm>.
This patch removes the impl of printT2AddrModeImm8s4OffsetOperand() from
ARMAsmPrinter.cpp. It is used by disassembler as of now.
llvm-svn: 98774
2010-03-17 23:01:59 +00:00
Sean Callanan
8b02a0f769
Changed install_name for libEnhancedDisassembly.dylib on
...
Mac OS X to match current install location. This has no
effect on other platforms.
llvm-svn: 98773
2010-03-17 22:01:36 +00:00
Jim Grosbach
021b995bb2
remove arm mode workaround for ARM host
...
llvm-svn: 98771
2010-03-17 21:28:19 +00:00
Jim Grosbach
86bcdccb65
Use llvm-gcc to build ARM when it's available
...
llvm-svn: 98770
2010-03-17 21:25:13 +00:00
Bob Wilson
a6fe21a79a
Clean up whitespace.
...
llvm-svn: 98769
2010-03-17 21:16:45 +00:00
Bob Wilson
69ba1bcd05
Increase format field from 5 to 6 bits. ARMII::FormMask was increased to 0x3f
...
in svn r74988 but the format field was never widened.
llvm-svn: 98768
2010-03-17 21:13:43 +00:00
Anders Carlsson
56446146fd
More work on thunks.
...
llvm-svn: 98765
2010-03-17 20:06:32 +00:00
John McCall
39e8288b40
Implement non-dependent friend functions and classes.
...
llvm-svn: 98764
2010-03-17 20:01:29 +00:00
Benjamin Kramer
a4d1c8f59f
Initialize Size member to appease valgrind.
...
llvm-svn: 98763
2010-03-17 19:55:31 +00:00
Dan Gohman
d2abecaeea
Revert 98755, which may be causing trouble.
...
llvm-svn: 98762
2010-03-17 19:54:53 +00:00
Gabor Greif
6221720599
feedback from Nick
...
llvm-svn: 98761
2010-03-17 19:27:31 +00:00
John McCall
71ba5f27de
ActOnTagDefinitionError is supposed to 'unwind' ActOnTagStartDefinition, not
...
ActOnStartCXXMemberDeclaration. We haven't started the field collector on this
class yet, so don't stop it. Fixes a crash in the VS buildbot and a memory error
on all the others.
llvm-svn: 98760
2010-03-17 19:25:57 +00:00
Dan Gohman
5c9b0e1a6e
Change SCEVNAryExpr's operand array from a SmallVector to a plain
...
pointer and length, and allocate the arrays in ScalarEvolution's
BumpPtrAllocator, so that they get released when their owning
SCEV gets released. SCEVs are immutable, so they don't need to worry
about operand array resizing. This fixes a memory leak reported
in PR6637.
llvm-svn: 98755
2010-03-17 18:51:01 +00:00
Douglas Gregor
ee8fed0146
Reduce the default alignment for ASTContext and Stmt/Expr allocation
...
from 16 bytes to 8 bytes, since we don't ever use those low 4
bits. Should save some storage.
llvm-svn: 98754
2010-03-17 18:46:59 +00:00
Bob Wilson
5a00b19a29
Remove an unnecessary (and misspelled) typedef. Tweak whitespace.
...
llvm-svn: 98753
2010-03-17 18:43:25 +00:00
Andrew Lenharth
e78e58ce2f
missing include
...
llvm-svn: 98752
2010-03-17 18:33:00 +00:00
Johnny Chen
6e81f67b09
98745 contains something unrelated to the patch.
...
Remove it from ARMAddressingModes.h.
llvm-svn: 98751
2010-03-17 18:32:39 +00:00
Douglas Gregor
fc20f82726
XFAIL this test on that silly Windows platform. Grrr
...
llvm-svn: 98750
2010-03-17 18:28:02 +00:00
Chris Lattner
9b65c38961
notes from evan
...
llvm-svn: 98748
2010-03-17 18:15:52 +00:00
Johnny Chen
8f3004cff2
Added sub-formats to the NeonI/NeonXI instructions to further refine the NEONFrm
...
instructions to help disassembly.
We also changed the output of the addressing modes to omit the '+' from the
assembler syntax #+/-<imm> or +/-<Rm>. See, for example, A8.6.57/58/60.
And modified test cases to not expect '+' in +reg or #+num. For example,
; CHECK: ldr.w r9, [r7, #28 ]
llvm-svn: 98745
2010-03-17 17:52:21 +00:00
Stuart Hastings
6981c258f7
Testcase for r98728.
...
llvm-svn: 98744
2010-03-17 17:51:08 +00:00
Devang Patel
852a04e7ce
Fix EmitSectionOffset incorrect argument. DwarfDebug is emitting debug info so isEH is always false. This was hiding until now from compilers because of default arguments. This was hiding from dwarf debug info users because for most of the platform isAbsoluteEHSectionOffsets() is same as isAbsoluteDebugSectionOffsets(). But Chris found it while updating dwarf printer to use MC*.
...
llvm-svn: 98743
2010-03-17 17:29:55 +00:00
Chris Lattner
6aba4862c5
several updates
...
llvm-svn: 98742
2010-03-17 17:25:49 +00:00
Jeffrey Yasskin
11122eafe7
Make lit pay attention to --vg for tcl tests too, which makes it work on LLVM's
...
non-unit tests.
llvm-svn: 98741
2010-03-17 17:04:56 +00:00
Douglas Gregor
f475990d86
Remove this test. It is causing problems has has relatively little value
...
llvm-svn: 98730
2010-03-17 16:04:04 +00:00
Douglas Gregor
319aa6c4b5
Remove warning about shadowing a built-in; built-ins aren't actually
...
considered to be a part of the translation unit unless they're named
in a way that brings them into existence.
llvm-svn: 98729
2010-03-17 16:03:44 +00:00
Douglas Gregor
4ad3da2843
Entering the main source file in the preprocessor can fail if the
...
source file has been changed. Handle that failure more gracefully.
llvm-svn: 98727
2010-03-17 15:44:30 +00:00
Douglas Gregor
22fde23b6e
Check the inode in addition to size and modification time to determine
...
whether a file has changed since it was originally read.
llvm-svn: 98726
2010-03-17 15:33:06 +00:00
Douglas Gregor
6597f59506
Use a simple diagnostic (file modified) when we detect that a file has
...
changed, rather than trying to point out how it changed. The "why"
doesn't matter.
llvm-svn: 98725
2010-03-17 15:30:15 +00:00
John Criswell
2a4b080c5d
Fixed spelling errors.
...
llvm-svn: 98724
2010-03-17 15:01:50 +00:00
Kovarththanan Rajaratnam
eeed0cc32d
Simplify error path using OwningPtr
...
llvm-svn: 98722
2010-03-17 09:47:30 +00:00
Kovarththanan Rajaratnam
9ff84d9c27
Simplify ProcessWarningOptions since it can't fail
...
llvm-svn: 98721
2010-03-17 09:36:02 +00:00
Kovarththanan Rajaratnam
5d272cda19
Remove useless forward decl.
...
llvm-svn: 98720
2010-03-17 09:25:49 +00:00
Kovarththanan Rajaratnam
4a94ba56f1
Issue a proper diagnostic if we couldn't open dump file
...
llvm-svn: 98719
2010-03-17 09:24:48 +00:00
Kovarththanan Rajaratnam
c1e817ef51
Remove useless foward decl.
...
llvm-svn: 98718
2010-03-17 08:44:19 +00:00
John McCall
cb81625851
Add another compatibility note and tweak a few of the existing ones.
...
llvm-svn: 98717
2010-03-17 07:10:56 +00:00
Jeffrey Yasskin
c4e3f05380
Fix a false-positive memory leak in code using RemoveFileOnSignal(). Because
...
libstdc++'s std::string class points to the interior of an allocation, valgrind
reports strings still alive at program termination as possible leaks. I didn't
use a ManagedStatic for this because System can't depend on Support.
llvm-svn: 98716
2010-03-17 07:08:12 +00:00
Chris Lattner
6184f4db34
combiner-aa too, what's its status?
...
llvm-svn: 98715
2010-03-17 06:42:25 +00:00
Chris Lattner
10a3cc46fd
more chris scribble.
...
llvm-svn: 98714
2010-03-17 06:41:58 +00:00
Chandler Carruth
7b621ea10a
Fix a typo in a tag.
...
llvm-svn: 98713
2010-03-17 05:46:21 +00:00
Chris Lattner
aed00fa039
fix GetOrCreateTemporarySymbol to require a name, clients
...
should use CreateTempSymbol() if they don't care about the
name.
llvm-svn: 98712
2010-03-17 05:41:18 +00:00
John McCall
fb803d7dcb
Grant nested classes the access privileges of their enclosing classes.
...
llvm-svn: 98710
2010-03-17 04:58:56 +00:00
Chris Lattner
0b1c9a52b4
add a bunch of random and unformatted notes as I am reading
...
through tons of old commits.
llvm-svn: 98709
2010-03-17 04:41:49 +00:00
Rafael Espindola
fcc4739089
Document common clang compatibility issues.
...
Patch by Zhanyong Wan.
llvm-svn: 98708
2010-03-17 04:31:53 +00:00