[PATCH] D83179: [SCCP] Use range metadata for loads and calls
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 5 13:20:07 PDT 2020
nikic created this revision.
nikic added reviewers: fhahn, efriedma.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
When all else fails, use range metadata to constrain the result of loads and calls. It should also be possible to use `!nonnull`, but that would require some general support for inequalities in SCCP first.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D83179
Files:
llvm/lib/Transforms/Scalar/SCCP.cpp
llvm/test/Transforms/SCCP/metadata.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83179.275564.patch
Type: text/x-patch
Size: 6556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200705/63acea54/attachment.bin>
More information about the llvm-commits
mailing list