[PATCH] D137083: [ObjCARC] Replace parts of ObjCARCAA with intrinsic attributes
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 31 08:02:28 PDT 2022
nikic created this revision.
nikic added reviewers: ahatanak, pete, rjmccall.
Herald added subscribers: jeroen.dobbelaere, hiraditya.
Herald added a project: All.
nikic requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.
ObjCARCAliasAnalysis implements custom getMemoryEffects/getModRefInfo for a few objc intrinsics. However, this is not necessary, as these intrinsics can be described using ordinary readnone/inaccessiblememonly intrinsic attributes. Do that, and drop the special handling from the AA pass.
https://reviews.llvm.org/D137083
Files:
clang/test/CodeGenObjC/arc.m
llvm/include/llvm/Analysis/ObjCARCAliasAnalysis.h
llvm/include/llvm/IR/Intrinsics.td
llvm/lib/Analysis/ObjCARCAliasAnalysis.cpp
llvm/test/Transforms/ObjCARC/basic.ll
llvm/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll
llvm/test/Transforms/ObjCARC/nested.ll
llvm/test/Transforms/PreISelIntrinsicLowering/objc-arc.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137083.472009.patch
Type: text/x-patch
Size: 11369 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221031/ea95e6a2/attachment.bin>
More information about the llvm-commits
mailing list