[PATCH] D66803: [LV] Tail-folding with runtime memory checks

Mikael Holmén via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 03:49:06 PDT 2019


uabelho added a comment.

In D66803#1656923 <https://reviews.llvm.org/D66803#1656923>, @uabelho wrote:

> Hi,
>
> I've hit the new assertion when compiling for my out of tree target when using -Osize in combination with
>
> #pragma clang loop vectorize(enable)
>
> on a loop.
>
> What is supposed to prevent us from triggering the assertion in a case like that?


Can be reproduced on trunk with

  clang -mllvm -disable-llvm-optzns -S -Xclang -emit-llvm-bc -Os lala.c -o ./lala.bc
  opt -disable-basicaa -O1 -S -o - lala.bc

F9915702: lala.c <https://reviews.llvm.org/F9915702>


Repository:
  rL LLVM

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

https://reviews.llvm.org/D66803





More information about the llvm-commits mailing list