[PATCH] D127726: [SimplifyCFG] Don't sink common code if PHI node with some GEPs is created

Elena Lepilkina via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 14 05:50:24 PDT 2022


eklepilkina updated this revision to Diff 444619.
eklepilkina added a comment.

[InstCombiner] Add option to replace PHI of GEPs with GEP with PHI as index


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127726/new/

https://reviews.llvm.org/D127726

Files:
  llvm/lib/Transforms/InstCombine/InstCombineInternal.h
  llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
  llvm/test/Transforms/InstCombine/phi-with-geps.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127726.444619.patch
Type: text/x-patch
Size: 13211 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220714/39f34e08/attachment.bin>


More information about the llvm-commits mailing list