[PATCH] D147151: [NFC][LoopVectorize] Add zext/sext cost tests when there is type shrinkage

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 3 05:56:46 PDT 2023


david-arm marked 4 inline comments as done.
david-arm added inline comments.


================
Comment at: llvm/test/Transforms/LoopVectorize/AArch64/type-shrinkage-zext-costs.ll:3
+; RUN: opt -S -passes=loop-vectorize,instsimplify -force-vector-interleave=1 \
+; RUN:   -debug-only=loop-vectorize 2>%t < %s | FileCheck %s
+; RUN: cat %t | FileCheck %s --check-prefix=CHECK-COST
----------------
fhahn wrote:
> I think this needs `; REQUIRES: asserts`, to make sure this only runs when `-debug-only` is available.
Excellent point and you've happily prevented me from another face-palm moment when a buildbot breaks. :)


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

https://reviews.llvm.org/D147151



More information about the llvm-commits mailing list