[all-commits] [llvm/llvm-project] 8d798e: [LoongArch] Add "32bit" target feature

Xiaodong Liu via All-commits all-commits at lists.llvm.org
Thu Jan 5 17:29:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d798eab16ca3ab38d42f097d059c4cf9d8b23e7
      https://github.com/llvm/llvm-project/commit/8d798eab16ca3ab38d42f097d059c4cf9d8b23e7
  Author: Xiaodong Liu <liuxiaodong at loongson.cn>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArch.td
    M llvm/lib/Target/LoongArch/LoongArchSubtarget.cpp
    M llvm/lib/Target/LoongArch/LoongArchSubtarget.h
    A llvm/test/CodeGen/LoongArch/feature-32bit.ll

  Log Message:
  -----------
  [LoongArch] Add "32bit" target feature

There are a few intrinsics or instructions on LoongArch
that are only appropriate for loongarch32 target. So the
feature "32bit" is added to implement it.

Reviewed By: SixWeining

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




More information about the All-commits mailing list