[PATCH] D136201: [InstCombine] Handle PHI nodes when eliminating constant memcpy

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 13 14:18:33 PST 2023


gandhi21299 updated this revision to Diff 489123.
gandhi21299 marked 2 inline comments as done.
gandhi21299 added a comment.

- Eliminated the redundant loop as pointed out by reviewer
- Created a new method that drives the recursive algorithm for collecting users, this was necessary to avoid publicizing the member variables of PointerReplacer.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136201/new/

https://reviews.llvm.org/D136201

Files:
  llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136201.489123.patch
Type: text/x-patch
Size: 4434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230113/82f955f4/attachment.bin>


More information about the llvm-commits mailing list