[PATCH] D153305: [MemoryEffects][NFCI] Make the MemoryEffects class reusable

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 19 14:11:35 PDT 2023


jdoerfert created this revision.
jdoerfert added reviewers: nikic, fhahn, arsenm.
Herald added subscribers: jeroen.dobbelaere, ormris, StephenFan, bollu, hiraditya.
Herald added a project: All.
jdoerfert requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a reviewer: sstefan1.
Herald added a project: LLVM.

In a follow up we will reuse the logic in MemoryEffectsBase to merge
moryLocation and AAMemoryBehavior without duplicating all the bit
ling code already available in MemoryEffectsBase.

This is part of an effort to match FunctionAttr performance with a lightweight Attributor pass, and this should also speed it up as we need less AAs.


https://reviews.llvm.org/D153305

Files:
  llvm/include/llvm/AsmParser/LLParser.h
  llvm/include/llvm/IR/Attributes.h
  llvm/include/llvm/Support/ModRef.h
  llvm/lib/Analysis/AliasAnalysis.cpp
  llvm/lib/AsmParser/LLParser.cpp
  llvm/lib/IR/Attributes.cpp
  llvm/lib/Transforms/IPO/FunctionAttrs.cpp
  llvm/lib/Transforms/IPO/SCCP.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153305.532750.patch
Type: text/x-patch
Size: 17101 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230619/96eb61ba/attachment-0001.bin>


More information about the llvm-commits mailing list