[llvm] [M68k][MC] Generate some encoding tests for MOVE (PR #194269)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Sat May 2 16:20:49 PDT 2026


================
@@ -0,0 +1,1284 @@
+; Generated by llvm/test/MC/M68k/generate_tests.py
+; Please do not edit this file by hand.
+
+; RUN: llvm-mc -triple=m68k -mcpu=M68040 -show-encoding < %s | FileCheck %s
----------------
mshockwave wrote:

Another variant / permutation you could consider adding to your script is to generate tests for certain generation of M68k. For example, CPUs before M68020 don't support certain displacement sizes.

https://github.com/llvm/llvm-project/pull/194269


More information about the llvm-commits mailing list