From 4ca2ea5b43a69c3786f8636675b486455a2cbf3f Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Sat, 22 Apr 2006 18:53:45 +0000 Subject: JumpTable support! What this represents is working asm and jit support for x86 and ppc for 100% dense switch statements when relocations are non-PIC. This support will be extended and enhanced in the coming days to support PIC, and less dense forms of jump tables. llvm-svn: 27947 --- llvm/utils/TableGen/DAGISelEmitter.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/utils/TableGen') diff --git a/llvm/utils/TableGen/DAGISelEmitter.cpp b/llvm/utils/TableGen/DAGISelEmitter.cpp index e7ee71564c5..e8142111913 100644 --- a/llvm/utils/TableGen/DAGISelEmitter.cpp +++ b/llvm/utils/TableGen/DAGISelEmitter.cpp @@ -3225,6 +3225,7 @@ void DAGISelEmitter::EmitInstructionSelector(std::ostream &OS) { << " case ISD::TargetConstant:\n" << " case ISD::TargetConstantPool:\n" << " case ISD::TargetFrameIndex:\n" + << " case ISD::TargetJumpTable:\n" << " case ISD::TargetGlobalAddress: {\n" << " Result = N;\n" << " return;\n" -- cgit v1.2.3