[PATCH] D127392: [AggressiveInstCombine] Combine consecutive loads which are being merged to form a wider load.
Kai Nacke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 4 12:54:19 PDT 2022
Kai added inline comments.
================
Comment at: llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp:816
+ IntegerType::get(Load1Ptr->getContext(), LOps.LoadSize), Load1Ptr,
+ LI1->getAlign(), LI1->isVolatile(), "");
+ NewLoad->takeName(LI1);
----------------
FYI: The missing bitcast for the `Load1Ptr` argument means that this change only works with opaque pointers.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127392/new/
https://reviews.llvm.org/D127392
More information about the llvm-commits
mailing list