[PATCH] D136201: [InstCombine] Handle PHI nodes in PtrReplacer

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 14 11:21:14 PST 2023


gandhi21299 updated this revision to Diff 489300.
gandhi21299 added a comment.

- Replaced calls from collectUsers to collectUsersRecursive, which now generates the code we expect for @loop_phi_remove_alloca and @loop_phi_late_memtransfer_remove_alloca.


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
  llvm/test/Transforms/InstCombine/replace-alloca-phi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136201.489300.patch
Type: text/x-patch
Size: 8983 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230114/f4eef9fb/attachment.bin>


More information about the llvm-commits mailing list