[PATCH] D138991: [AAPointerInfo] handle multiple offsets in PHI

Sameer Sahasrabuddhe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 30 02:07:51 PST 2022


sameerds created this revision.
Herald added subscribers: kosarev, ormris, foad, okura, jdoerfert, kuter, kerbowa, hiraditya, jvesely, arsenm.
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.

The arguments to a PHI may represent a recurrence by eventually using the output
of the PHI itself. This is now handled by checking for cycles in the control
flow. If a PHI is not in a recurrence, it is now able to report multiple offsets
instead of conservatively reporting unknown.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138991

Files:
  llvm/include/llvm/Analysis/CycleAnalysis.h
  llvm/include/llvm/Transforms/IPO/Attributor.h
  llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
  llvm/lib/Transforms/IPO/AttributorAttributes.cpp
  llvm/test/CodeGen/AMDGPU/implicitarg-attributes.ll
  llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
  llvm/test/Transforms/Attributor/value-simplify-pointer-info.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138991.478861.patch
Type: text/x-patch
Size: 24956 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221130/afd08c60/attachment.bin>


More information about the llvm-commits mailing list