[PATCH] D137011: [AAPointerInfo] check for Unknown offsets in callee
Sameer Sahasrabuddhe via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 28 23:55:31 PDT 2022
sameerds created this revision.
Herald added subscribers: ormris, okura, jdoerfert, kuter, hiraditya.
Herald added a project: All.
sameerds requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: sstefan1.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
When translating offset info from the callee at a call site, first check if the
offset is Unknown. Any offset in the caller should be added only if the callee
offset is valid.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D137011
Files:
llvm/lib/Transforms/IPO/AttributorAttributes.cpp
llvm/test/Transforms/Attributor/value-simplify-pointer-info.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137011.471724.patch
Type: text/x-patch
Size: 49679 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221029/2c611d10/attachment.bin>
More information about the llvm-commits
mailing list