You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the test case. Should be fixed now. The assertion highlighted a case where we previously miscompiled for the case where VF is <vscale x 1 x ..>; in that case we are unable to extract the penultimate value (second-to-last) if vscale = 1
kbluck
pushed a commit
to kbluck/llvm-project
that referenced
this issue
Jul 6, 2024
The assertion added as part of llvm#93395
surfaced cases where first-order recurrences are vectorized with
<vscale x 1 x ..>. If vscale is 1, then we are unable to extract the
penultimate value (second to last lane). Previously this case got
mis-compiled, trying to extract from an invalid lane (-1)
https://llvm.godbolt.org/z/3adzYYcf9.
Fixesllvm#97452.
Reduced testcase:
Command/backtrace:
Godbolt: https://godbolt.org/z/ojz8sMa1r
Found via fuzzer
The text was updated successfully, but these errors were encountered: