[PATCH] D136201: [InstCombine] Replace alloca with phi uses

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 19 00:56:49 PDT 2022


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

- Revised test with checks included
- Using append_range to add incoming values to the Worklist instead of a for loop


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.468803.patch
Type: text/x-patch
Size: 6416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221019/ec3e599b/attachment.bin>


More information about the llvm-commits mailing list