[PATCH] D139627: clang/X86: Don't emit "min-legal-vector-width"="0"

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 8 11:53:42 PST 2022


arsenm added a comment.

In D139627#3982385 <https://reviews.llvm.org/D139627#3982385>, @arsenm wrote:

>> [1] `"min-legal-vector-width" = "0"` was clear to indicate there are only scalar operations.
>
> It's not remotely clear what this means

It also doesn't mean that, because the IR doesn't have to be consistent with the attribute. The IR exists independent of the attribute, and the attribute can only provide performance hints.


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

https://reviews.llvm.org/D139627



More information about the llvm-commits mailing list