[PATCH] D108190: [Attributor][FIX] Recursion via memory needs to be tracked explicitly
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 16 23:39:35 PDT 2021
jdoerfert created this revision.
jdoerfert added a reviewer: kuter.
Herald added subscribers: ormris, okura, uenoku, bollu, hiraditya.
Herald added a reviewer: uenoku.
Herald added a reviewer: homerdin.
jdoerfert requested review of this revision.
Herald added a reviewer: sstefan1.
Herald added a reviewer: baziotis.
Herald added a project: LLVM.
Recursion can happen when we see a PHI use the second time or when we
look at a store value operand use again. We already visited the
potential copies and doing so again will just cause endless looping.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D108190
Files:
llvm/lib/Transforms/IPO/Attributor.cpp
llvm/test/Transforms/Attributor/value-simplify-pointer-info.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108190.366813.patch
Type: text/x-patch
Size: 26897 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210817/6ec14ae5/attachment-0001.bin>
More information about the llvm-commits
mailing list