[PATCH] D152743: [AliasAnalysis] Return NoModRef for loads from constant memory

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 12 12:24:41 PDT 2023


aeubanks created this revision.
Herald added subscribers: kmitropoulou, jeroen.dobbelaere, foad, kerbowa, asbirlea, hiraditya, jvesely, arsenm.
Herald added a project: All.
aeubanks requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This noticeably increases compile times [1], but is necessary for not regressing a follow-up change to DSE that saves much more compile time.

[1] https://llvm-compile-time-tracker.com/compare.php?from=9dcae2f524e7bd9c6655778fb3c4c5cac05180cb&to=a4a2b62495a63516a4f782acff1b19361906546b&stat=instructions:u


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152743

Files:
  llvm/lib/Analysis/AliasAnalysis.cpp
  llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp
  llvm/lib/Transforms/Scalar/GVN.cpp
  llvm/lib/Transforms/Scalar/NewGVN.cpp
  llvm/test/Analysis/MemorySSA/constant-memory.ll
  llvm/test/Analysis/MemorySSA/ptr-const-mem.ll
  llvm/test/Transforms/GVN/mssa-constant-mem.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152743.530635.patch
Type: text/x-patch
Size: 6339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230612/7621e3f2/attachment.bin>


More information about the llvm-commits mailing list