[PATCH] D125438: [InstCombine] NEW Baseline tests for InstCombine optimization to merge GEP instructions with constant indices

William Junda Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 12 13:44:18 PDT 2022


huangjd updated this revision to Diff 429064.
huangjd added a comment.

Added more unit tests since existing InstCombine can handle merging GEP with partially constant index under some conditions.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125438

Files:
  llvm/test/Transforms/InstCombine/gep-canonicalize-constant-indices.ll
  llvm/test/Transforms/InstCombine/gep-merge-constant-indices.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125438.429064.patch
Type: text/x-patch
Size: 16257 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220512/0317f4e8/attachment.bin>


More information about the llvm-commits mailing list