[PATCH] D93042: [noalias.decl] Look through llvm.noalias.decl

Jeroen Dobbelaere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 10 08:33:56 PST 2020


jeroen.dobbelaere created this revision.
Herald added subscribers: lxfind, asbirlea, george.burgess.iv, modocache, hiraditya.
jeroen.dobbelaere requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Just like llvm.assume, there are a lot of cases where we can just ignore llvm.noalias.decl.

Note: the ``llvm/test/Transforms/Coroutines/coro-retcon-resume-values.ll`` shows a small regression when the new pass manager is used.


https://reviews.llvm.org/D93042

Files:
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/lib/Analysis/AliasSetTracker.cpp
  llvm/lib/Analysis/BasicAliasAnalysis.cpp
  llvm/lib/Analysis/MemorySSA.cpp
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/lib/Analysis/VectorUtils.cpp
  llvm/lib/CodeGen/Analysis.cpp
  llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/lib/Transforms/Scalar/EarlyCSE.cpp
  llvm/test/Transforms/Coroutines/coro-retcon-resume-values.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93042.310909.patch
Type: text/x-patch
Size: 8056 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201210/51d02b11/attachment.bin>


More information about the llvm-commits mailing list