[all-commits] [llvm/llvm-project] 048612: [Clang][LoongArch] Add intrinsic for iocsrrd and i...

Gong LingQin via All-commits all-commits at lists.llvm.org
Fri Dec 9 22:10:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 048612050a2fc0a89b84632a48da0d86f0d13646
      https://github.com/llvm/llvm-project/commit/048612050a2fc0a89b84632a48da0d86f0d13646
  Author: gonglingqin <gonglingqin at loongson.cn>
  Date:   2022-12-10 (Sat, 10 Dec 2022)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsLoongArch.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Headers/larchintrin.h
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/CodeGen/LoongArch/intrinsic-la32-error.c
    M clang/test/CodeGen/LoongArch/intrinsic-la32.c
    M clang/test/CodeGen/LoongArch/intrinsic-la64.c
    M llvm/include/llvm/IR/IntrinsicsLoongArch.td
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    M llvm/test/CodeGen/LoongArch/intrinsic-la32-error.ll
    M llvm/test/CodeGen/LoongArch/intrinsic-la64.ll
    M llvm/test/CodeGen/LoongArch/intrinsic.ll

  Log Message:
  -----------
  [Clang][LoongArch] Add intrinsic for iocsrrd and iocsrwr

These intrinsics are required by Linux [1].

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/loongarch/include/asm/loongarch.h#n240

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




More information about the All-commits mailing list