[PATCH] D105806: [LV] Print remark when loop cannot be vectorized due to invalid costs.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 15 03:43:14 PDT 2021


sdesmalen added a comment.

In D105806#2879566 <https://reviews.llvm.org/D105806#2879566>, @iii wrote:

> llvm-clang-x86_64-expensive-checks-debian (https://lab.llvm.org/buildbot/#/builders/16/builds/13741) fails with:
>
>   <<<<<<
>               1: remark: <unknown>:0:0: UserVF ignored because of invalid costs. 
>               2: remark: t.c:3:10: Instruction with invalid costs prevented vectorization at VF=(vscale x 1): load 
>   next:102'0                                                                                                      X error: no match found
>               3: remark: t.c:3:20: Instruction with invalid costs prevented vectorization at VF=(vscale x 1): call to llvm.sin.f32 
>   next:102'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   next:102'1             ?                                                                                                          possible intended match
>
> The bot attributed this to my changes (https://reviews.llvm.org/D105629), but they have nothing to do with aarch64 or vectorization, and this test passes locally for me.
>
> @sdesmalen could you take a look please?

Hi @iii thanks for pointing it out, I already started looking into this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105806



More information about the llvm-commits mailing list