[all-commits] [llvm/llvm-project] 427be0: [LoongArch] Support amcas[_db].{b/h/w/d} instructi...

tangaac via All-commits all-commits at lists.llvm.org
Wed Nov 27 01:36:35 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 427be0767523b6e0f4004a421892f463d62446ac
      https://github.com/llvm/llvm-project/commit/427be0767523b6e0f4004a421892f463d62446ac
  Author: tangaac <tangyan01 at loongson.cn>
  Date:   2024-11-27 (Wed, 27 Nov 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Basic/Targets/LoongArch.cpp
    M clang/lib/Basic/Targets/LoongArch.h
    M clang/lib/Driver/ToolChains/Arch/LoongArch.cpp
    M clang/test/Driver/loongarch-march.c
    A clang/test/Driver/loongarch-mlamcas.c
    M clang/test/Preprocessor/init-loongarch.c
    M llvm/include/llvm/TargetParser/LoongArchTargetParser.def
    M llvm/include/llvm/TargetParser/LoongArchTargetParser.h
    M llvm/lib/Target/LoongArch/LoongArch.td
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    M llvm/lib/TargetParser/Host.cpp
    M llvm/lib/TargetParser/LoongArchTargetParser.cpp
    M llvm/test/CodeGen/LoongArch/ir-instruction/atomic-cmpxchg.ll
    A llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw-lamcas.ll
    A llvm/test/Transforms/AtomicExpand/LoongArch/atomicrmw-expand.ll

  Log Message:
  -----------
  [LoongArch] Support amcas[_db].{b/h/w/d} instructions. (#114189)

Two options for clang: -mlamcas & -mno-lamcas.
Enable or disable amcas[_db].{b/h} instructions.
The default is -mno-lamcas.
Only works on LoongArch64.



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