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

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 20 19:34:03 PST 2022


gandhi21299 updated this revision to Diff 484452.
gandhi21299 marked an inline comment as done.
gandhi21299 added a comment.

Allow PHI nodes only if the number of incoming values is less than 5


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.484452.patch
Type: text/x-patch
Size: 14210 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221221/8cac0c49/attachment.bin>


More information about the llvm-commits mailing list