[PATCH] D52024: LSV: Fix adjust alloca alignment trick for AMDGPU

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 13 04:26:21 PDT 2018


arsenm added inline comments.


================
Comment at: lib/Transforms/Vectorize/LoadStoreVectorizer.cpp:995-997
     unsigned NewAlign = getOrEnforceKnownAlignment(S0->getPointerOperand(),
                                                    StackAdjustedAlignment,
                                                    DL, S0, nullptr, &DT);
----------------
I guess this can result in increasing the alignment even if nothing is going to end up vectorized, but that's probably not that important


https://reviews.llvm.org/D52024





More information about the llvm-commits mailing list