[all-commits] [llvm/llvm-project] e746a9: [Clang] Emit "min-legal-vector-width" attribute fo...

Phoebe Wang via All-commits all-commits at lists.llvm.org
Tue Dec 20 19:58:06 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e746a9a600a0f697009820eb6acf8eff65853f0f
      https://github.com/llvm/llvm-project/commit/e746a9a600a0f697009820eb6acf8eff65853f0f
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2022-12-21 (Wed, 21 Dec 2022)

  Changed paths:
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/test/CodeGen/aarch64-neon-3v.c
    M clang/test/CodeGen/aarch64-neon-extract.c
    M clang/test/CodeGen/aarch64-neon-ldst-one.c
    M clang/test/CodeGen/aarch64-neon-scalar-copy.c
    M clang/test/CodeGen/aarch64-neon-scalar-x-indexed-elem.c
    M clang/test/CodeGen/aarch64-neon-vget.c
    M clang/test/CodeGen/aarch64-poly64.c
    M clang/test/CodeGen/arm64_vdupq_n_f64.c
    M clang/test/CodeGenCXX/arm-generated-fn-attr.cpp
    M clang/test/OpenMP/amdgcn-attributes.cpp
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  [Clang] Emit "min-legal-vector-width" attribute for X86 only

This is an alternative way of D139627 suggested by Craig. Creently only X86 backend uses this attribute. Let's just emit for X86 only.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D139701




More information about the All-commits mailing list