llvm-6502/include/llvm/CodeGen
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
..
AsmPrinter.h remove dead method. 2010-03-15 00:00:42 +00:00
BinaryObject.h
CalcSpillWeights.h
CallingConvLower.h
DwarfWriter.h
ELFRelocation.h
FastISel.h
GCMetadata.h switch GC_LABEL to use an MCSymbol operand instead of a label ID operand. 2010-03-14 07:27:07 +00:00
GCMetadataPrinter.h switch GC_LABEL to use an MCSymbol operand instead of a label ID operand. 2010-03-14 07:27:07 +00:00
GCs.h
GCStrategy.h
IntrinsicLowering.h
JITCodeEmitter.h change EH related stuff (other than EH_LABEL) to use MCSymbol 2010-03-14 01:41:15 +00:00
LatencyPriorityQueue.h
LinkAllAsmWriterComponents.h
LinkAllCodegenComponents.h
LiveInterval.h
LiveIntervalAnalysis.h
LiveStackAnalysis.h
LiveVariables.h
MachineBasicBlock.h eliminate the now-unneeded context argument of MBB::getSymbol() 2010-03-13 21:04:28 +00:00
MachineCodeEmitter.h change EH related stuff (other than EH_LABEL) to use MCSymbol 2010-03-14 01:41:15 +00:00
MachineCodeInfo.h
MachineConstantPool.h
MachineDominators.h
MachineFrameInfo.h
MachineFunction.h eliminate the now-unneeded context argument of MBB::getSymbol() 2010-03-13 21:04:28 +00:00
MachineFunctionAnalysis.h
MachineFunctionPass.h
MachineInstr.h
MachineInstrBuilder.h add builder support for mcsymbol operands. 2010-03-13 08:16:25 +00:00
MachineJumpTableInfo.h Fix pr6543: svn r88806 changed MachineJumpTableInfo::getJumpTableIndex() to 2010-03-18 18:42:41 +00:00
MachineLocation.h MachineMove ctor doesn't need to to mutate input, add 'const' 2010-03-15 05:55:35 +00:00
MachineLoopInfo.h
MachineMemOperand.h
MachineModuleInfo.h Fix the third (and last known) case of code update problems due 2010-03-16 00:29:39 +00:00
MachineModuleInfoImpls.h
MachineOperand.h add support for MCSymbols as operands to MachineInstrs. 2010-03-13 08:14:18 +00:00
MachinePassRegistry.h
MachineRegisterInfo.h
MachineRelocation.h
MachineSSAUpdater.h
MachORelocation.h
ObjectCodeEmitter.h change EH related stuff (other than EH_LABEL) to use MCSymbol 2010-03-14 01:41:15 +00:00
Passes.h
ProcessImplicitDefs.h
PseudoSourceValue.h
RegAllocRegistry.h
RegisterCoalescer.h
RegisterScavenging.h
RuntimeLibcalls.h Turn calls to copysignl into an FCOPYSIGN node. Handle FCOPYSIGN nodes 2010-03-14 21:08:40 +00:00
ScheduleDAG.h
ScheduleHazardRecognizer.h
SchedulerRegistry.h
SelectionDAG.h change the LabelSDNode to be EHLabelSDNode and make it hold 2010-03-14 02:33:54 +00:00
SelectionDAGISel.h change the LabelSDNode to be EHLabelSDNode and make it hold 2010-03-14 02:33:54 +00:00
SelectionDAGNodes.h Add DAG nodes to represent FP16 <-> FP32 intrinsics 2010-03-14 18:42:15 +00:00
SlotIndexes.h
TargetLoweringObjectFileImpl.h rename getSymbolForDwarf* to getExprForDwarf* since it returns 2010-03-11 19:41:58 +00:00
ValueTypes.h
ValueTypes.td