[PATCH] D137333: [AggressiveInstCombine] Avoid load merge/widen if stores are present b/w loads

Biplob Mishra via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 3 05:47:22 PDT 2022


bipmis created this revision.
bipmis added reviewers: dmgreen, spatel, asmok-g, eaeltsin, joanahalili.
bipmis added projects: LLVM, All.
bipmis requested review of this revision.

This patch is to address the test cases in which the load has to be inserted at a right point. This happens when there is a store b/w the loads.

This patch reverts the loads merge in all cases when stores are present b/w loads and will eventually be replaced with proper fix and test cases.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137333

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: D137333.472910.patch
Type: text/x-patch
Size: 22590 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221103/5a39a636/attachment.bin>


More information about the llvm-commits mailing list