Skip to content

Commit 6dc9808

Browse files
mshockwavememfrob
authored andcommitted
[M68k][test] Initial migration of MC tests
As the context depicted by bug 49865[1], we are migrating tests under `test/CodeGen/M68k/Encoding`, which was originally used to test instruction encoding using MIR file as input, into `test/MC/M68k`. We are also adding test directives for AsmParser using the same set of inputs. Currently we are converting the original MIR test files into assembly code as well as translating the original LIT "RUN" statement into one that only uses built-in LLVM tools (i.e. Get rid of `extract-section`). However, since AsmParser has not completely finished, many of these original test cases fail. Thus, this patch only migrate test files that are passed by the current implementation of AsmParser (and MCCodeEmitter). The remaining tests (under test/CodeGen/M68k/Encoding) will be ported alone with the patch that fixes the related issues. [1]: https://bugs.llvm.org/show_bug.cgi?id=49865 Differential Revision: https://reviews.llvm.org/D101410
1 parent 99f118f commit 6dc9808

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+347
-631
lines changed

llvm/test/CodeGen/M68k/Encoding/Arith/Classes/MxBiArOp_RFRI.mir

Lines changed: 0 additions & 41 deletions
This file was deleted.

llvm/test/CodeGen/M68k/Encoding/Arith/Classes/MxBiArOp_RFRRF.mir

Lines changed: 0 additions & 27 deletions
This file was deleted.

llvm/test/CodeGen/M68k/Encoding/Arith/Classes/MxBiArOp_RFRR_EAd.mir

Lines changed: 0 additions & 26 deletions
This file was deleted.

llvm/test/CodeGen/M68k/Encoding/Arith/Classes/MxCMP_RI.mir

Lines changed: 0 additions & 36 deletions
This file was deleted.

llvm/test/CodeGen/M68k/Encoding/Arith/Classes/MxCMP_RR.mir

Lines changed: 0 additions & 27 deletions
This file was deleted.

llvm/test/CodeGen/M68k/Encoding/Arith/Classes/MxDiMu.mir

Lines changed: 0 additions & 48 deletions
This file was deleted.

llvm/test/CodeGen/M68k/Encoding/Arith/Classes/MxExt.mir

Lines changed: 0 additions & 25 deletions
This file was deleted.

llvm/test/CodeGen/M68k/Encoding/Arith/Classes/MxNEG.mir

Lines changed: 0 additions & 39 deletions
This file was deleted.

llvm/test/CodeGen/M68k/Encoding/Bits/Classes/MxBTST_RI.mir

Lines changed: 0 additions & 25 deletions
This file was deleted.

llvm/test/CodeGen/M68k/Encoding/Bits/Classes/MxBTST_RR.mir

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)