[PATCH] D68131: Switch lowering: omit range check for bit tests when default is unreachable (PR43129)
Hans Wennborg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 27 05:41:27 PDT 2019
hans created this revision.
hans added reviewers: spatel, nickdesaulniers.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
This is modeled after the same functionality for jump tables, which was added in r357067.
https://reviews.llvm.org/D68131
Files:
llvm/include/llvm/CodeGen/SwitchLoweringUtils.h
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/test/CodeGen/X86/switch-bt.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68131.222146.patch
Type: text/x-patch
Size: 5204 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190927/ab2bada5/attachment.bin>
More information about the llvm-commits
mailing list