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
|