[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 12:22:36 PST 2019


ayonam updated this revision to Diff 180900.
ayonam added a comment.

There were two tests that were failing when I tried to commit.  This version fixes one of the tests and for the other test a fix in the original patch is provided.

Kindly review the same and approve.


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/switch-jump-table.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52002.180900.patch
Type: text/x-patch
Size: 8256 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190109/e30afdf1/attachment.bin>


More information about the llvm-commits mailing list