[PATCH] D131597: [Attributor][FIX] Visit same instructions with different scopes

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 10 10:31:28 PDT 2022


jdoerfert created this revision.
jdoerfert added reviewers: jhuber6, ye-luo.
Herald added subscribers: ormris, okura, kuter, bollu, hiraditya.
Herald added a reviewer: homerdin.
Herald added a project: All.
jdoerfert requested review of this revision.
Herald added a reviewer: sstefan1.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

If we collect potential values we need to visit a value even if we have
seen it before if the scope is different. The scope is part of the
result after all. Test included.

Fixes https://github.com/llvm/llvm-project/issues/56753


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131597

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: D131597.451546.patch
Type: text/x-patch
Size: 54794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220810/91d14940/attachment-0001.bin>


More information about the llvm-commits mailing list