[PATCH] D137201: [AggressiveInstCombine] Handle the insert point of the merged load correctly.

Biplob Mishra via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 05:14:30 PST 2022


bipmis updated this revision to Diff 474234.
bipmis added a comment.

Update the patch to handle various corner cases of Alias Analysis by handling the insert point of the load and associated pointer. For 2 loads move the insert point to the one which occurs first. Additionally look for clobber in the merged load when the merged load occurs later.


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

https://reviews.llvm.org/D137201

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137201.474234.patch
Type: text/x-patch
Size: 40287 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221109/0189ffb2/attachment.bin>


More information about the llvm-commits mailing list