[PATCH] D52002: Switch optimization for known maximum switch values

Ayonam Ray via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 19 04:38:07 PST 2018


ayonam added a comment.

In D52002#1336137 <https://reviews.llvm.org/D52002#1336137>, @hans wrote:

> Sounds good.
>
> And please include a test.
>
> The one in D55742 <https://reviews.llvm.org/D55742> doesn't really show the change we're discussing here, i.e. how unreachable defaults affect switch lowering.


The one in D55742 <https://reviews.llvm.org/D55742> actually targets the patch D52707 <https://reviews.llvm.org/D52707>.  I will write one more for this one.  Let me see what would make a good test for this.  Thanks again for your time.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D52002/new/

https://reviews.llvm.org/D52002





More information about the llvm-commits mailing list