[PATCH] D63242: [SimplifyCFG] Also use the SwitchReduceRange Threshold for shift operations.

Shawn Landden via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 17:17:55 PDT 2019


shawnl updated this revision to Diff 204668.
shawnl added a comment.

fix tests when building tests for ALL architectures

there is one very small regression here, that a test checks for, (the three patches are together in terms of passing tests) where an unnecessary subtraction is added (and in a very few cases), but patches I have already written take care of this, so I don't think it is a big deal.


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

https://reviews.llvm.org/D63242

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63242.204668.patch
Type: text/x-patch
Size: 5767 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190614/77e38015/attachment.bin>


More information about the llvm-commits mailing list