[PATCH] D119665: [M68k] Adopt VarLenCodeEmitter for control instructions
Ricky Taylor via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 15 03:53:08 PST 2022
ricky26 added a comment.
Thanks for this, I'm really enjoying the new syntax, it's so much easier to follow. I'm a little bit unsure about the test change.
================
Comment at: llvm/lib/Target/M68k/M68kInstrControl.td:47
+ def NOP : MxInst<(outs), (ins), "nop", []> {
+ let Inst = (descend 0b0100, 0b1110, 0b0111, 0b0001);
+ }
----------------
nit: Any reason you've split this up by byte? Generally the manuals I've read have it as one string of bits (I wonder if the bit syntax supports underscores).
================
Comment at: llvm/test/MC/M68k/Control/call-pc-rel.s:3
; RUN: llvm-mc -triple=m68k -filetype=obj < %s | \
-; RUN: llvm-objdump -d - | FileCheck --check-prefix=CHECK-OBJ %s
+; RUN: llvm-objdump -d - | not FileCheck --check-prefix=CHECK-OBJ %s
----------------
It looks like this just negates the whole test?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119665/new/
https://reviews.llvm.org/D119665
More information about the llvm-commits
mailing list