diff options
author | Chris Lattner <sabre@nondot.org> | 2006-10-06 22:32:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-10-06 22:32:29 +0000 |
commit | e0cfc8b2f24394c7b5d9275235678269aa4425fd (patch) | |
tree | a6fbe91ae87b40943050c877d647c67b5f271bb7 /lib/CodeGen | |
parent | db3ea6754bc314cb0ba5b4c2ae534b3b33633cf1 (diff) |
jump tables handle pic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30776 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index e7175cfdba..6d0f782220 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -846,11 +846,6 @@ void SelectionDAGLowering::visitSwitchCase(SelectionDAGISel::CaseBlock &CB) { } 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) && |