mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 11:36:06 +00:00

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
4 lines
122 B
LLVM
4 lines
122 B
LLVM
; RUN: llc --version | FileCheck %s
|
|
; CHECK: loongarch32 - 32-bit LoongArch
|
|
; CHECK: loongarch64 - 64-bit LoongArch
|