llvm-6502/lib
Bob Wilson d1ec31dca5 Fix pr6543: svn r88806 changed MachineJumpTableInfo::getJumpTableIndex() to
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98845 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-18 18:42:41 +00:00
..
Analysis Add the ability to "intern" FoldingSetNodeID data into a 2010-03-18 16:16:38 +00:00
Archive From PR6228: 2010-02-04 06:19:43 +00:00
AsmParser Introduce isOpaqueTy and use it rather than isa<OpaqueType>. Also, move some 2010-02-16 14:50:09 +00:00
Bitcode reapply r98656 unmodified, which exposed the asmprinter not 2010-03-16 21:25:55 +00:00
CodeGen Fix pr6543: svn r88806 changed MachineJumpTableInfo::getJumpTableIndex() to 2010-03-18 18:42:41 +00:00
CompilerDriver Use FindExecutable as a fall-back search method. 2010-03-05 04:46:28 +00:00
ExecutionEngine Avoid a memory leak in JITDebugRegisterer. 2010-03-16 05:54:54 +00:00
Linker Introduce isOpaqueTy and use it rather than isa<OpaqueType>. Also, move some 2010-02-16 14:50:09 +00:00
MC MCValue: Change to holding MCSymbolRefExprs instead of MCSymbols, we will need this for accessing to symbol modifiers. 2010-03-18 00:59:10 +00:00
Support Add the ability to "intern" FoldingSetNodeID data into a 2010-03-18 16:16:38 +00:00
System Fix a false-positive memory leak in code using RemoveFileOnSignal(). Because 2010-03-17 07:08:12 +00:00
Target add a special relocation type for movq loads for object 2010-03-18 18:10:56 +00:00
Transforms str[r]chr returns its pointer argument so we cannot mark it as nocapture. Thanks to Duncan for spotting my mistake. 2010-03-16 20:33:15 +00:00
VMCore add asmprinter suport for unions, fixing Feature/unions.ll to actually 2010-03-16 21:21:35 +00:00
Makefile