summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2012-10-31 16:15:25 +0000
committerHans Wennborg <hans@hanshq.net>2012-10-31 16:15:25 +0000
commitb71f72aa82415d8305b3c4decc0c0f42caf1a51e (patch)
tree3efe950f8afad98e0bdcc3959bd2a712a9533178 /llvm/lib
parent1265ea8f8ddc6bccc0cfba27f969c73c48255b91 (diff)
downloadbcm5719-llvm-b71f72aa82415d8305b3c4decc0c0f42caf1a51e.tar.gz
bcm5719-llvm-b71f72aa82415d8305b3c4decc0c0f42caf1a51e.zip
Remove fixme about unreachable cases from SwitchToLookupTable
SimplifyCFG will have removed those cases for us. llvm-svn: 167132
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/Utils/SimplifyCFG.cpp2
1 files changed, 0 insertions, 2 deletions
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.
OpenPOWER on IntegriCloud