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

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 4 13:50:06 PST 2023


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

- PHI's need to be kept track of to avoid inserting them repeatedly into ValuesToInspect.


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.486386.patch
Type: text/x-patch
Size: 14464 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230104/157c4130/attachment.bin>


More information about the llvm-commits mailing list