[all-commits] [llvm/llvm-project] 689342: [Clang][LoongArch] Add inline asm support for the ...

hev via All-commits all-commits at lists.llvm.org
Thu May 22 20:15:02 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 689342de25e65597583805eecd367c4982fd53b8
      https://github.com/llvm/llvm-project/commit/689342de25e65597583805eecd367c4982fd53b8
  Author: hev <wangrui at loongson.cn>
  Date:   2025-05-23 (Fri, 23 May 2025)

  Changed paths:
    M clang/lib/Basic/Targets/LoongArch.cpp
    M clang/test/CodeGen/LoongArch/inline-asm-constraints.c
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    A llvm/test/CodeGen/LoongArch/inline-asm-constraint-q.ll

  Log Message:
  -----------
  [Clang][LoongArch] Add inline asm support for the `q` constraint (#141037)

This patch adds support for the `q` constraint:
a general-purpose register except for $r0 and $r1 (for the csrxchg
instruction)

Link: https://gcc.gnu.org/pipermail/gcc-patches/2025-May/684339.html



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