[all-commits] [llvm/llvm-project] 9bf61a: [NFC] Precommit test for issue #149512 (#153541)

Ami-zhang via All-commits all-commits at lists.llvm.org
Sun Aug 17 22:54:06 PDT 2025


  Branch: refs/heads/release/21.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 9bf61a610c095d9b04f663eb505d2da014a30433
      https://github.com/llvm/llvm-project/commit/9bf61a610c095d9b04f663eb505d2da014a30433
  Author: Ami-zhang <zhanglimin at loongson.cn>
  Date:   2025-08-18 (Mon, 18 Aug 2025)

  Changed paths:
    A clang/test/CodeGen/LoongArch/targetattr-lasx.c

  Log Message:
  -----------
  [NFC] Precommit test for issue #149512 (#153541)

(cherry picked from commit 793a6b4fd402c929e04f9da407fe4491d5d9d22e)


  Commit: 08b57975566f96ff545401f7777afc37b19961f2
      https://github.com/llvm/llvm-project/commit/08b57975566f96ff545401f7777afc37b19961f2
  Author: Ami-zhang <zhanglimin at loongson.cn>
  Date:   2025-08-18 (Mon, 18 Aug 2025)

  Changed paths:
    M clang/lib/Basic/Targets/LoongArch.cpp
    M clang/test/CodeGen/LoongArch/targetattr-lasx.c

  Log Message:
  -----------
  [clang][LoongArch] Ensure `target("lasx")` implies LSX support (#153542)

Currently, `__attribute__((target("lasx")))` does not automatically
enable LSX support, causing Clang to fail with `-mno-lsx`. Since
LASX depends on LSX, enabling LASX should implicitly enable LSX to
avoid clang error.

Fixes #149512.

Depends on #153541

(cherry picked from commit a1b6e7ff393533a5c4f3bdfd4efe5da106e2de2b)


Compare: https://github.com/llvm/llvm-project/compare/5a351e93fbab...08b57975566f

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