[llvm] [SelectionDAG] Use unaligned store/load to move AVX registers onto stack for `insertelement` (PR #82130)
Manish Kausik H via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 31 05:37:22 PDT 2024
================
@@ -1485,22 +1484,26 @@ SDValue SelectionDAGLegalize::ExpandInsertToVectorThroughStack(SDValue Op) {
TLI.getVectorSubVecPointer(DAG, StackPtr, VecVT, PartVT, Idx);
// Store the subvector.
- Ch = DAG.getStore(
- Ch, dl, Part, SubStackPtr,
- MachinePointerInfo::getUnknownStack(DAG.getMachineFunction()));
+ Ch = DAG.getStore(Ch, dl, Part, SubStackPtr, AlignedMMO);
----------------
Nirhar wrote:
There is no need for it in the current version of the patch
https://github.com/llvm/llvm-project/pull/82130
More information about the llvm-commits
mailing list