Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAGISel.cpp updated: 1.283 -> 1.284 --- Log message: jump tables handle pic --- Diffs of the changes: (+0 -5) SelectionDAGISel.cpp | 5 ----- 1 files changed, 5 deletions(-) Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.283 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.284 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.283 Thu Oct 5 17:57:27 2006 +++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Fri Oct 6 17:32:29 2006 @@ -846,11 +846,6 @@ } void SelectionDAGLowering::visitJumpTable(SelectionDAGISel::JumpTable &JT) { - // FIXME: Need to emit different code for PIC vs. Non-PIC, specifically, - // we need to add the address of the jump table to the value loaded, since - // the entries in the jump table will be differences rather than absolute - // addresses. - // Emit the code for the jump table MVT::ValueType PTy = TLI.getPointerTy(); assert((PTy == MVT::i32 || PTy == MVT::i64) && _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits