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

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 21 11:09:52 PDT 2022


gandhi21299 updated this revision to Diff 469695.
gandhi21299 marked 5 inline comments as done.
gandhi21299 added a comment.

- fixed posion value returns
- fixed infinite loop cases by inserting a false check in PointerReplacer::collectUsers(Inst)
- simplified test case and added negative tests for non-simple load and no memcpy
- ran update_test_check.py


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.469695.patch
Type: text/x-patch
Size: 7653 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221021/77684441/attachment.bin>


More information about the llvm-commits mailing list