[SimplifyCFG] make a debug option for case max when converting switch to select
authorSanjay Patel <spatel@rotateright.com>
Wed, 13 Apr 2022 10:54:08 +0000 (06:54 -0400)
committerSanjay Patel <spatel@rotateright.com>
Wed, 13 Apr 2022 10:55:13 +0000 (06:55 -0400)
commitcd0d0d633bc62f27b4d76ba26d2848577f7c12c4
treea7517e7a58c42217a8aae089cbcb2d28b74c44d7
parent46f83caebc8f2329bcf16b3edf6785dff480c5e3
[SimplifyCFG] make a debug option for case max when converting switch to select

This should be "NFC" as written, but it will make D122485 smaller
and give us more flexibility to experiment with optimization level
vs. compile-time.

Differential Revision: https://reviews.llvm.org/D123625
llvm/lib/Transforms/Utils/SimplifyCFG.cpp