[PATCH] D71935: [SCCP] Use constant ranges for select, if cond is overdefined.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 22 18:36:09 PST 2020


fhahn updated this revision to Diff 239759.
fhahn added a comment.

In D71935#1830422 <https://reviews.llvm.org/D71935#1830422>, @efriedma wrote:

> Maybe also add a testcase with a select with a ConstantExpr cond?


Add test case with ConstantExpr cond.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71935

Files:
  llvm/lib/Transforms/Scalar/SCCP.cpp
  llvm/test/Transforms/SCCP/ip-ranges-select.ll
  llvm/test/Transforms/SCCP/select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71935.239759.patch
Type: text/x-patch
Size: 6070 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200123/fe3f9e8b/attachment.bin>


More information about the llvm-commits mailing list