[PATCH] D52002: Switch optimization for known maximum switch values

Ayonam Ray via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 19 13:35:29 PST 2018


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

Reversed the recording of the switch widening in the IR.  Now we solely rely on the default being made unreachable.


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52002.178953.patch
Type: text/x-patch
Size: 5788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181219/17d1935f/attachment.bin>


More information about the llvm-commits mailing list