summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SimplifyCFG/switch_create.ll
diff options
context:
space:
mode:
authorStepan Dyatkovskiy <stpworld@narod.ru>2012-07-02 13:02:18 +0000
committerStepan Dyatkovskiy <stpworld@narod.ru>2012-07-02 13:02:18 +0000
commit8b9ecca42d2bc2c9d3741d3a15a2fb306b821ab1 (patch)
tree63a0392527015694b32b2c3cb5416d915b55d2f6 /llvm/test/Transforms/SimplifyCFG/switch_create.ll
parenta5a29f970eea116b38064453d21066127473171c (diff)
downloadbcm5719-llvm-8b9ecca42d2bc2c9d3741d3a15a2fb306b821ab1.tar.gz
bcm5719-llvm-8b9ecca42d2bc2c9d3741d3a15a2fb306b821ab1.zip
IntRange:
- Changed isSingleNumber method behaviour. Now this flag is calculated on demand. IntegersSubsetMapping - Optimized diff operation. - Replaced type of Items field from std::list with std::map. - Added new methods: bool isOverlapped(self &RHS) void add(self& RHS, SuccessorClass *S) void detachCase(self& NewMapping, SuccessorClass *Succ) void removeCase(SuccessorClass *Succ) SuccessorClass *findSuccessor(const IntTy& Val) const IntTy* getCaseSingleNumber(SuccessorClass *Succ) IntegersSubsetTest - DiffTest: Added checks for successors. SimplifyCFG Updated SwitchInst usage (now it is case-ragnes compatible) for - SimplifyEqualityComparisonWithOnlyPredecessor - FoldValueComparisonIntoPredecessors llvm-svn: 159527
Diffstat (limited to 'llvm/test/Transforms/SimplifyCFG/switch_create.ll')
-rw-r--r--llvm/test/Transforms/SimplifyCFG/switch_create.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/SimplifyCFG/switch_create.ll b/llvm/test/Transforms/SimplifyCFG/switch_create.ll
index 546cc75f297..c62afd5d4de 100644
--- a/llvm/test/Transforms/SimplifyCFG/switch_create.ll
+++ b/llvm/test/Transforms/SimplifyCFG/switch_create.ll
@@ -82,8 +82,8 @@ lor.end: ; preds = %lor.rhs, %lor.lhs.f
; CHECK: @test4
; CHECK: switch i8 %c, label %lor.rhs [
-; CHECK: i8 62, label %lor.end
; CHECK: i8 34, label %lor.end
+; CHECK: i8 62, label %lor.end
; CHECK: i8 92, label %lor.end
; CHECK: ]
}
OpenPOWER on IntegriCloud