llvm-project/llvm/test/CodeGen/LoongArch/target_support.ll
Lu Weining 33388ae866 [LoongArch 4/6] Add basic tablegen infra for LoongArch
This patch introduces basic tablegen infra such as
LoongArch{InstrFormats,InstrInfo,RegisterInfo,CallingConv,}.td.

For now, only add instruction definitions for LoongArch basic integer
operations.
Our initial target is a working MC layer rather than codegen,
so appropriate SelectionDAG patterns will come later.

Differential revision: https://reviews.llvm.org/D115861
2022-02-10 10:23:34 +00:00

4 lines
122 B
LLVM

; RUN: llc --version | FileCheck %s
; CHECK: loongarch32 - 32-bit LoongArch
; CHECK: loongarch64 - 64-bit LoongArch