[PATCH] D98611: [InstSimplify] Restrict a GEP transform to avoid provenance changes

Simonas Kazlauskas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 14 14:25:48 PDT 2021


nagisa created this revision.
nagisa added reviewers: nikic, lebedev.ri.
Herald added a subscriber: hiraditya.
nagisa edited the summary of this revision.
nagisa edited the summary of this revision.
nagisa updated this revision to Diff 330533.
nagisa added a comment.
nagisa published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

regenerate test cases


This is a follow-up to D98588 <https://reviews.llvm.org/D98588>, and fixes the inline `FIXME` about a GEP-related simplification not
preserving the provenance.

https://alive2.llvm.org/ce/z/qbQoAY

Additional tests were added in rGf125f28afdb5: [InstSimplify] Add additional GEP transform tests & regenerate <https://reviews.llvm.org/rGf125f28afdb59eba29d2491dac0dfc0a7bf1b60b>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98611

Files:
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/test/Transforms/InstSimplify/gep.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98611.330533.patch
Type: text/x-patch
Size: 4825 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210314/ebdfad9a/attachment.bin>


More information about the llvm-commits mailing list