aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/SimplifyCFG.cpp
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
commiteb3e089fb686e506647a4d8cfdc1d51869489801 (patch)
tree43f3b201dc76d04786570e9fd54a4da7f171e13c /lib/Transforms/Utils/SimplifyCFG.cpp
parent2a5401cc75acf38092a7224cadaf895281d41b29 (diff)
Remove fixme about unreachable cases from SwitchToLookupTable
SimplifyCFG will have removed those cases for us. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167132 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/SimplifyCFG.cpp')
-rw-r--r--lib/Transforms/Utils/SimplifyCFG.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp
index a477aa58cf..96e3fdca1b 100644
--- a/lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/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.