[PATCH] D102515: [CostModel] Return an invalid cost for memory ops with unsupported types
Kerry McLaughlin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 4 06:11:33 PDT 2021
kmclaughlin added inline comments.
================
Comment at: llvm/test/Transforms/LoopVectorize/AArch64/scalable-vf-hint.ll:5
+; RUN: opt -mtriple=aarch64-none-linux-gnu -loop-vectorize -pass-remarks-analysis=loop-vectorize -debug-only=loop-vectorize -S -scalable-vectorization=on < %s 2>%t | FileCheck --check-prefix=CHECK-NO-SVE %s
+; RUN: cat %t | FileCheck %s -check-prefix=CHECK-NO-SVE-REMARKS
----------------
sdesmalen wrote:
> Is it necessary to pipe the output to a temporary file and use a different check-prefix?
I tried changing all `CHECK-NO-MAX-VSCALE`s to `CHECK-NO-SVE`, but this caused the test to fail. I think something like this is needed so that @test_no_sve and @test_no_max_vscale can have CHECK lines for both the output from -loop-vectorize and -pass-remarks-analysis=loop-vectorize.
I could instead add another RUN line, similar to the other tests which use the `CHECK` & `CHECK-DBG` prefixes?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102515/new/
https://reviews.llvm.org/D102515
More information about the llvm-commits
mailing list