[all-commits] [llvm/llvm-project] 970094: [llvm-opt-report] Show scalable vectorization fact...

Lou via All-commits all-commits at lists.llvm.org
Fri Jan 24 06:08:37 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 970094d50b08e694c2302f7ee39b1c33d08f2405
      https://github.com/llvm/llvm-project/commit/970094d50b08e694c2302f7ee39b1c33d08f2405
  Author: Lou <lou.knauer at sipearl.com>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    A llvm/test/tools/llvm-opt-report/Inputs/scalable.c
    A llvm/test/tools/llvm-opt-report/Inputs/scalable.yaml
    A llvm/test/tools/llvm-opt-report/scalabe.test
    M llvm/tools/llvm-opt-report/OptReport.cpp

  Log Message:
  -----------
  [llvm-opt-report] Show scalable vectorization factors (#123367)

Scalable vectorization factors are printed as "vscale x VF" where VF is
the known minimum number of elements, a integer. Currently,
llvm-opt-report always expects a integer (like for vectorization with
fixed-sized vectors), and does not display any vectorization factor in
the output (just 'V', but without a number).

This patch adds support for scalable vectorization factors and prints
them as "VNx<VF>", so for example "VNx4". The "Nx" is used to
differentiate between fixed-sized and scalable factors, and is
consistent with the way LLVM mangles scalable vectors in other places.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list