[PATCH] D150864: [AggressiveInstCombine] Handle the nested GEP/BitCast scenario in Load Merge.

Biplob Mishra via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 18 05:02:44 PDT 2023


bipmis created this revision.
bipmis added reviewers: dmgreen, spatel, mnadeem.
bipmis added projects: LLVM, All.
Herald added a subscriber: StephenFan.
bipmis requested review of this revision.

This seems to be an issue currently where there are nested/chained GEP/BitCast Pointers. The patch bails out for such scenarios, as this is being worked upon by InstCombine to reduce to a single GEP.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150864

Files:
  llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
  llvm/test/Transforms/AggressiveInstCombine/AArch64/or-load.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150864.523341.patch
Type: text/x-patch
Size: 5607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230518/c3c09e73/attachment.bin>


More information about the llvm-commits mailing list