[PATCH] D52002: Omit range checks from jump tables when lowering switches with unreachable default
Ayonam Ray via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 9 23:25:57 PST 2019
ayonam updated this revision to Diff 181000.
ayonam added a comment.
The patch failed another test because the branch to the unreachable default was omitted. The test cases have been modified. The affected tests are test/CodeGen/X86/pr38743.ll and test/CodeGen/X86/switch-jump-table.ll
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D52002/new/
https://reviews.llvm.org/D52002
Files:
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
test/CodeGen/AArch64/switch-unreachable-default.ll
test/CodeGen/X86/pr38743.ll
test/CodeGen/X86/switch-jump-table.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52002.181000.patch
Type: text/x-patch
Size: 11836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190110/00c7b8fd/attachment.bin>
More information about the llvm-commits
mailing list