[PATCH] D102834: [SLPVectorizer] Implement initial memory versioning.

Stephen Long via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 26 10:02:49 PDT 2021


steplong added a comment.



> I am seeing 5-10% speedups when vectorizing `quant_4x4`. After runtime check generation, there's still another issue though (conditional load that's not hoisted out).

Hi @fhahn, I tried cherry-picking this patch and I'm not seeing `quant_4x4` getting vectorized. Maybe I'm missing something here. The commandline invocation I'm using is
`clang --target=aarch64-linux-gnu -mllvm -slp-memory-versioning -mllvm -debug-only=SLP -O3 -c quant_4x4.c -S -o quant_4x4.S`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102834



More information about the llvm-commits mailing list