[PATCH] D52707: Switch optimization in IR for known maximum switch values

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


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

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


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D52707/new/

https://reviews.llvm.org/D52707

Files:
  lib/Transforms/Utils/SimplifyCFG.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52707.178951.patch
Type: text/x-patch
Size: 5622 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181219/80dcc9a6/attachment.bin>


More information about the llvm-commits mailing list