[PATCH] D146540: [SLP] Add test to check for GEP vectorization

Zain Jaffal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 27 06:54:39 PDT 2023


zjaffal marked 3 inline comments as done.
zjaffal added inline comments.


================
Comment at: llvm/test/Transforms/SLPVectorizer/AArch64/getelementptr.ll:6
 ; RUN: cat %t | FileCheck -check-prefix=YAML %s
-
+; RUN: opt -S -passes='slp-vectorizer' | FileCheck -check-prefix=CHECK-GEP
 
----------------
fhahn wrote:
> Why is the new run line needed?
because `-slp-threshold=-7` forces the test to vectorize I guess maybe it modifies the cost model? 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146540



More information about the llvm-commits mailing list