summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/CodeExtractor.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2019-10-02 14:35:06 +0000
committerHans Wennborg <hans@hanshq.net>2019-10-02 14:35:06 +0000
commit9330005a547926c6bef1704b540f83755bafe8d4 (patch)
tree981fc05eb7d9724d06af292dbfb1c513e98ef429 /llvm/lib/Transforms/Utils/CodeExtractor.cpp
parent4496f07497a883e44477b0d8f4e331cd030ffd6e (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud