[PATCH] D143166: [NFC] PHITransAddr refactoring

Sergei Kachkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 2 03:49:41 PST 2023


kachkov98 created this revision.
Herald added subscribers: kmitropoulou, asbirlea, hiraditya.
Herald added a project: All.
kachkov98 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

1. Fix function naming conventions
2. Return translated value directly or nullptr on failure (instead of bool flag)
3. Use standard algorithms


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143166

Files:
  llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h
  llvm/include/llvm/Analysis/MemorySSA.h
  llvm/include/llvm/Analysis/PHITransAddr.h
  llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
  llvm/lib/Analysis/PHITransAddr.cpp
  llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
  llvm/lib/Transforms/Scalar/GVN.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143166.494248.patch
Type: text/x-patch
Size: 23825 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230202/7840eff9/attachment-0001.bin>


More information about the llvm-commits mailing list