[PATCH] D125845: [InstCombine] Canonicalize GEP of GEP and merging GEP with constant indices

William Junda Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 18 15:01:10 PDT 2022


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

Removed check for malformed IR (PR13621)
Removed unnecessary type check for canonicalization swap

Move converting GEP of constant index to i8 into next patch


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125845

Files:
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/test/Transforms/InstCombine/gep-merge-constant-indices.ll
  llvm/test/Transforms/InstCombine/opaque-ptr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125845.430512.patch
Type: text/x-patch
Size: 6900 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220518/84808ef0/attachment.bin>


More information about the llvm-commits mailing list