[PATCH] D138645: [AAPointerInfo] rearrange code in preparation for further changes

Sameer Sahasrabuddhe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 24 02:38:12 PST 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.

AAPointerInfoFloating::updateImpl

  Move the member function definition out of its class before modifying it.

translateAndAddState

  Split the function definition into two along the FromCallee boolean argument.

handleAccess

  This should only be called when Size is not known. In other cases, replaced
  with a direct call to addAccess.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138645

Files:
  llvm/lib/Transforms/IPO/AttributorAttributes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138645.477714.patch
Type: text/x-patch
Size: 27493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221124/450b9056/attachment.bin>


More information about the llvm-commits mailing list