[PATCH] D123799: [RISCV] Mark FSIN and other math functions as Expand for scalable vectors.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 18 18:55:35 PDT 2022


craig.topper added a comment.

In D123799#3457909 <https://reviews.llvm.org/D123799#3457909>, @liaolucy wrote:

> I would like to ask a question:
>
> What are the benefits of illegal costs?  Is there a problem that illegal costs are trying to solve?

It prevents the vectorize from creating llvm.sin, etc. with scalable vector types since they will crash in the backend.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123799



More information about the llvm-commits mailing list