[PATCH] D61314: [SCCP] Remove forcedconstant, use InstSimplify to fold undef values.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 6 14:34:58 PST 2020


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

Update the patch to remove forcedconstant and only folding explicit undefs.

I'll update the description. Eli, it would be great if you could have a look to check if that makes sense to you now.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D61314

Files:
  llvm/lib/Transforms/Scalar/SCCP.cpp
  llvm/test/Transforms/SCCP/apint-bigint2.ll
  llvm/test/Transforms/SCCP/apint-ipsccp3.ll
  llvm/test/Transforms/SCCP/ip-constant-ranges.ll
  llvm/test/Transforms/SCCP/ipsccp-basic.ll
  llvm/test/Transforms/SCCP/undef-resolve.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61314.243011.patch
Type: text/x-patch
Size: 18188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200206/578d31fd/attachment.bin>


More information about the llvm-commits mailing list