[PATCH] D60673: [SimplifyCFG] Improove and speed up ReduceSwitchRange

Shawn Landden via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 22 14:16:38 PDT 2019


shawnl updated this revision to Diff 196133.
shawnl edited the summary of this revision.
shawnl added a comment.

Remove some useless code now that we actually use ReduceSwitchRange(). However I did not bother to update NeedMask, because the whole plan is to implement something much more general than it.


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

https://reviews.llvm.org/D60673

Files:
  lib/Transforms/Utils/SimplifyCFG.cpp
  test/Transforms/SimplifyCFG/switch-simplify-range.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60673.196133.patch
Type: text/x-patch
Size: 22285 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190422/f5d3df22/attachment.bin>


More information about the llvm-commits mailing list