diff options
author | Hans Wennborg <hans@hanshq.net> | 2019-10-02 14:35:06 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2019-10-02 14:35:06 +0000 |
commit | 9330005a547926c6bef1704b540f83755bafe8d4 (patch) | |
tree | 981fc05eb7d9724d06af292dbfb1c513e98ef429 /llvm/lib/Transforms/Utils/CodeExtractor.cpp | |
parent | 4496f07497a883e44477b0d8f4e331cd030ffd6e (diff) | |
download | bcm5719-llvm-9330005a547926c6bef1704b540f83755bafe8d4.tar.gz bcm5719-llvm-9330005a547926c6bef1704b540f83755bafe8d4.zip |
Reapply r373431 "Switch lowering: omit range check for bit tests when default is unreachable (PR43129)"
This was reverted in r373454 due to breaking the expensive-checks bot.
This version addresses that by omitting the addSuccessorWithProb() call
when omitting the range check.
> Switch lowering: omit range check for bit tests when default is unreachable (PR43129)
>
> This is modeled after the same functionality for jump tables, which was
> added in r357067.
>
> Differential revision: https://reviews.llvm.org/D68131
llvm-svn: 373477
Diffstat (limited to 'llvm/lib/Transforms/Utils/CodeExtractor.cpp')
0 files changed, 0 insertions, 0 deletions