[all-commits] [llvm/llvm-project] 76fc93: [Clang][LoongArch] Align LSX/LASX built-in signatu...

wanglei via All-commits all-commits at lists.llvm.org
Thu Apr 2 01:11:45 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76fc936175304b521d8f5d9f0a67fe479237b4ac
      https://github.com/llvm/llvm-project/commit/76fc936175304b521d8f5d9f0a67fe479237b4ac
  Author: wanglei <wanglei at loongson.cn>
  Date:   2026-04-02 (Thu, 02 Apr 2026)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsLoongArchLASX.def
    M clang/include/clang/Basic/BuiltinsLoongArchLSX.def
    A clang/test/CodeGen/LoongArch/lasx/lasxintrin-lax-vector-conversions.c
    A clang/test/CodeGen/LoongArch/lsx/lsxintrin-lax-vector-conversions.c

  Log Message:
  -----------
  [Clang][LoongArch] Align LSX/LASX built-in signatures with intrinsic types to avoid lax conversions (#189900)

Update the built-in signatures in BuiltinsLoongArchLSX.def and
BuiltinsLoongArchLASX.def to precisely match the vector types used in
the corresponding intrinsic headers (lsxintrin.h and lasxintrin.h).

This alignment ensures that these intrinsics can be compiled
successfully even when -flax-vector-conversions=none is specified, since
the built-in arguments no longer rely on implicit vector type
conversions.

Added new test cases to verify the macro-defined LSX/LASX
intrinsic interfaces under -flax-vector-conversions=none.

Fixes #189898



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