- Mar 18, 2010
-
-
Bob Wilson authored
always create a new jump table. The intention was to avoid merging jump tables in SelectionDAGBuilder, and to wait for the branch folding pass to merge tables. Unfortunately, the same getJumpTableIndex() method is also used to merge tables in branch folding, so as a result of this change branch tables are never merged. Worse, the branch folding code is expecting getJumpTableIndex to always return the index of an existing table, but with this change, it never does so. In at least some cases, e.g., pr6543, this creates references to non-existent tables. I've fixed the problem by adding a new createJumpTableIndex function, which will always create a new table, and I've changed getJumpTableIndex to only look at existing tables. llvm-svn: 98845
-
Chris Lattner authored
files that produce special relocation types where the linker changes movq's into lea's. llvm-svn: 98839
-
Dan Gohman authored
llvm-svn: 98838
-
Chris Lattner authored
llvm-svn: 98835
-
Bob Wilson authored
intrinsics. The intrinsic lookup code assumes that this check has been done and assumes the names are at least 6 characters long. Valgrind complained about this. pr6638. llvm-svn: 98831
-
Devang Patel authored
llvm-svn: 98830
-
Dan Gohman authored
BumpPtrAllocator-allocated region to allow it to be stored in a more compact form and to avoid the need for a non-trivial destructor call. Use this new mechanism in ScalarEvolution instead of FastFoldingSetNode to avoid leaking memory in the case where a FoldingSetNodeID uses heap storage, and to reduce overall memory usage. llvm-svn: 98829
-
Benjamin Kramer authored
llvm-svn: 98819
-
Evan Cheng authored
llvm-svn: 98810
-
Dan Gohman authored
llvm-svn: 98793
-
Daniel Dunbar authored
MCValue: Change to holding MCSymbolRefExprs instead of MCSymbols, we will need this for accessing to symbol modifiers. llvm-svn: 98791
-
Daniel Dunbar authored
MC/Darwin: Add a new target hook for whether the target uses "reliable" symbol differences, basically whether the assembler should attempt to understand atoms when using scattered symbols. Also, avoid some virtual call overhead. llvm-svn: 98789
-
Jakob Stoklund Olesen authored
This reverts commit 98776. It broke the llvm-gcc boot strap. llvm-svn: 98784
-
Evan Cheng authored
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
-
Devang Patel authored
llvm-svn: 98778
-
Johnny Chen authored
There is a better way coming up. llvm-svn: 98777
-
Jakob Stoklund Olesen authored
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
-
Johnny Chen authored
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
-
Johnny Chen authored
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
-
- Mar 17, 2010
-
-
Bob Wilson authored
llvm-svn: 98769
-
Bob Wilson authored
in svn r74988 but the format field was never widened. llvm-svn: 98768
-
Benjamin Kramer authored
llvm-svn: 98763
-
Dan Gohman authored
llvm-svn: 98762
-
Dan Gohman authored
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
-
Johnny Chen authored
Remove it from ARMAddressingModes.h. llvm-svn: 98751
-
Johnny Chen authored
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
-
Devang Patel authored
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
-
Jeffrey Yasskin authored
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
-
Chris Lattner authored
should use CreateTempSymbol() if they don't care about the name. llvm-svn: 98712
-
Bob Wilson authored
llvm-svn: 98694
-
Bob Wilson authored
llvm-svn: 98692
-
- Mar 16, 2010
-
-
Evan Cheng authored
llvm-svn: 98686
-
Bob Wilson authored
optional register update argument, which is currently unused -- when we add support for that, it can just be a separate operand. llvm-svn: 98683
-
Chris Lattner authored
handling constant unions. llvm-svn: 98680
-
Johnny Chen authored
This is for the disassembly work. There are cases where this is not possible, for example, A8.6.53 LDM Encoding T1. In such case, we'll use an adhoc approach to deduce the Opcode programmatically. llvm-svn: 98679
-
Chris Lattner authored
be doing something useful. llvm-svn: 98677
-
Devang Patel authored
llvm-svn: 98675
-
Benjamin Kramer authored
str[r]chr returns its pointer argument so we cannot mark it as nocapture. Thanks to Duncan for spotting my mistake. llvm-svn: 98671
-
Benjamin Kramer authored
llvm-svn: 98663
-
Daniel Dunbar authored
llvm-svn: 98662
-