From b71f72aa82415d8305b3c4decc0c0f42caf1a51e Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Wed, 31 Oct 2012 16:15:25 +0000 Subject: Remove fixme about unreachable cases from SwitchToLookupTable SimplifyCFG will have removed those cases for us. llvm-svn: 167132 --- llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/lib/Transforms/Utils') diff --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp index a477aa58cf9..96e3fdca1b4 100644 --- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp @@ -3545,8 +3545,6 @@ static bool SwitchToLookupTable(SwitchInst *SI, if (TTI && !TTI->getScalarTargetTransformInfo()->shouldBuildLookupTables()) return false; - // FIXME: Handle unreachable cases. - // FIXME: If the switch is too sparse for a lookup table, perhaps we could // split off a dense part and build a lookup table for that. -- cgit v1.2.3