[llvm] 9b65b1e - [M68k] update dissassmbly test to require atLeastM68020 for BSR32 (#119758)

via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 13:15:46 PST 2024


Author: knickish
Date: 2024-12-12T13:15:43-08:00
New Revision: 9b65b1ef25723fcbb61f1ca25a6abbe678bb1770

URL: https://github.com/llvm/llvm-project/commit/9b65b1ef25723fcbb61f1ca25a6abbe678bb1770
DIFF: https://github.com/llvm/llvm-project/commit/9b65b1ef25723fcbb61f1ca25a6abbe678bb1770.diff

LOG: [M68k] update dissassmbly test to require atLeastM68020 for BSR32 (#119758)

Fixes test failure reported in #117371. `BSR32` was previously
(incorrectly) allowed for CPUs <M68020, this test was missed while
updating the rest to fit the new model

Added: 
    

Modified: 
    llvm/test/MC/Disassembler/M68k/control.txt

Removed: 
    


################################################################################
diff  --git a/llvm/test/MC/Disassembler/M68k/control.txt b/llvm/test/MC/Disassembler/M68k/control.txt
index d722dfd791fa9e..58d5629855838c 100644
--- a/llvm/test/MC/Disassembler/M68k/control.txt
+++ b/llvm/test/MC/Disassembler/M68k/control.txt
@@ -1,4 +1,4 @@
-# RUN: llvm-mc -disassemble -triple m68k %s | FileCheck %s
+# RUN: llvm-mc -disassemble -triple m68k -mcpu=M68020 %s | FileCheck %s
 
 # CHECK: bra $0
 0x60 0x00 0x00 0x00


        


More information about the llvm-commits mailing list