From 80d23705e6df49a41298fd345be6f8a8d72f4fd0 Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Fri, 19 Mar 2010 19:05:41 +0000 Subject: Stop trying to merge identical jump tables. This had been inadvertently disabled for several months (since svn r88806) and no one noticed. My fix for pr6543 yesterday reenabled it, but broke the ARM port's code for using TBB/TBH. Rather than adding a target hook to disable merging for Thumb2 only, I'm just taking this out. It is not common to have identical jump tables, the code we used to merge them was O(N^2), and it only helps code size, not performance. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98977 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/MachineJumpTableInfo.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/llvm/CodeGen') diff --git a/include/llvm/CodeGen/MachineJumpTableInfo.h b/include/llvm/CodeGen/MachineJumpTableInfo.h index 85d38ba01c..1b6ab2cd4c 100644 --- a/include/llvm/CodeGen/MachineJumpTableInfo.h +++ b/include/llvm/CodeGen/MachineJumpTableInfo.h @@ -87,10 +87,6 @@ public: /// unsigned createJumpTableIndex(const std::vector &DestBBs); - /// getJumpTableIndex - Return the index for an existing jump table. - /// - unsigned getJumpTableIndex(const std::vector &DestBBs); - /// isEmpty - Return true if there are no jump tables. /// bool isEmpty() const { return JumpTables.empty(); } -- cgit v1.2.3-70-g09d2