[PATCH] D152386: [LoadStoreVectorizer] Only upgrade align for alloca

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 7 13:51:41 PDT 2023


bjope added a comment.

In D152386#4404088 <https://reviews.llvm.org/D152386#4404088>, @tra wrote:

> Can you think of a test that would directly demonstrate effect of the patch on the alignment?

I added an explicit check it in a separate test file. Maybe it can be moved into the adjust-alloca-alignment.ll file, if using something else instead of `--match-full-lines` to ensure that there isn't anything else after the "align 1" (such as "align 16").


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152386



More information about the llvm-commits mailing list