[CVP] processSwitch: Remove default case when switch cover all possible values.
authorJun Ma <JunMa@linux.alibaba.com>
Thu, 15 Jul 2021 10:37:40 +0000 (18:37 +0800)
committerJun Ma <JunMa@linux.alibaba.com>
Wed, 18 Aug 2021 02:23:13 +0000 (10:23 +0800)
commit9934a5b2ed5aa6e6bbb2e55c3cd98839722c226e
tree5701f3523a4571b5114237a91aa6c5c03a3e40f4
parent3a063f5ad0147e8cad3c9a247b4327e7b32eb3da
[CVP] processSwitch: Remove default case when switch cover all possible values.

Differential Revision: https://reviews.llvm.org/D106056
llvm/include/llvm/Transforms/Utils/Local.h
llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
llvm/lib/Transforms/Utils/Local.cpp
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/CorrelatedValuePropagation/basic.ll