[LoongArch][test] (6/6) Add encoding and mnemonics tests
With the benefit of D88392, instruction encoding and mnemonic testing can be achieved within MIR files before AsmParser is ready. This patch adds such tests which cover all basic integer instructions we defined in previous patch. Similarly those tests will be rewrote by .s and moved to test/MC/LoongArch. Differential revision: https://reviews.llvm.org/D115862
Loading
Please sign in to comment