[llvm] [M68k] update dissassmbly test to require atLeastM68020 for BSR32 (PR #119758)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 12 13:07:31 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mc
Author: None (knickish)
<details>
<summary>Changes</summary>
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
---
Full diff: https://github.com/llvm/llvm-project/pull/119758.diff
1 Files Affected:
- (modified) llvm/test/MC/Disassembler/M68k/control.txt (+1-1)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/119758
More information about the llvm-commits
mailing list