[PATCH] D124459: [InstCombine] Combine opaque pointer GEPs with mismatching element types

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 08:39:37 PDT 2022


nikic updated this revision to Diff 425229.
nikic added a comment.

Don't require one-use for two constant GEPs, so the case from https://reviews.llvm.org/D123300#3467615 is actually fixed.


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

https://reviews.llvm.org/D124459

Files:
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/test/Transforms/InstCombine/opaque-ptr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124459.425229.patch
Type: text/x-patch
Size: 7617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220426/72ee0c2e/attachment.bin>


More information about the llvm-commits mailing list