[llvm] 5f0a628 - [RISCV] Remove duplicate Smrnmi CSR test cases. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 25 15:08:06 PDT 2024
Author: Craig Topper
Date: 2024-10-25T15:07:48-07:00
New Revision: 5f0a62817fc4e68e793e6d5e5c5fb9b614a1c8bf
URL: https://github.com/llvm/llvm-project/commit/5f0a62817fc4e68e793e6d5e5c5fb9b614a1c8bf
DIFF: https://github.com/llvm/llvm-project/commit/5f0a62817fc4e68e793e6d5e5c5fb9b614a1c8bf.diff
LOG: [RISCV] Remove duplicate Smrnmi CSR test cases. NFC
ed6ddffb583beb450c4b0e1747ccd14f7e063105 added tests that already
existed.
Added:
Modified:
llvm/test/MC/RISCV/machine-csr-names.s
Removed:
################################################################################
diff --git a/llvm/test/MC/RISCV/machine-csr-names.s b/llvm/test/MC/RISCV/machine-csr-names.s
index d509f9eadeb5e1..8cfdf7ee116cee 100644
--- a/llvm/test/MC/RISCV/machine-csr-names.s
+++ b/llvm/test/MC/RISCV/machine-csr-names.s
@@ -1913,66 +1913,6 @@ csrrs t1, mhpmcounter31, zero
csrrs t2, 0xB1F, zero
-######################################
-# Machine Counter Setup
-######################################
-# mnscratch
-# name
-# CHECK-INST: csrrs t1, mnscratch, zero
-# CHECK-ENC: encoding: [0x73,0x23,0x00,0x74]
-# CHECK-INST-ALIAS: csrr t1, mnscratch
-# uimm12
-# CHECK-INST: csrrs t2, mnscratch, zero
-# CHECK-ENC: encoding: [0xf3,0x23,0x00,0x74]
-# CHECK-INST-ALIAS: csrr t2, mnscratch
-# name
-csrrs t1, mnscratch, zero
-# uimm12
-csrrs t2, 0x740, zero
-
-# mnepc
-# name
-# CHECK-INST: csrrs t1, mnepc, zero
-# CHECK-ENC: encoding: [0x73,0x23,0x10,0x74]
-# CHECK-INST-ALIAS: csrr t1, mnepc
-# uimm12
-# CHECK-INST: csrrs t2, mnepc, zero
-# CHECK-ENC: encoding: [0xf3,0x23,0x10,0x74]
-# CHECK-INST-ALIAS: csrr t2, mnepc
-# name
-csrrs t1, mnepc, zero
-# uimm12
-csrrs t2, 0x741, zero
-
-# mncause
-# name
-# CHECK-INST: csrrs t1, mncause, zero
-# CHECK-ENC: encoding: [0x73,0x23,0x20,0x74]
-# CHECK-INST-ALIAS: csrr t1, mncause
-# uimm12
-# CHECK-INST: csrrs t2, mncause, zero
-# CHECK-ENC: encoding: [0xf3,0x23,0x20,0x74]
-# CHECK-INST-ALIAS: csrr t2, mncause
-# name
-csrrs t1, mncause, zero
-# uimm12
-csrrs t2, 0x742, zero
-
-# mnstatus
-# name
-# CHECK-INST: csrrs t1, mnstatus, zero
-# CHECK-ENC: encoding: [0x73,0x23,0x40,0x74]
-# CHECK-INST-ALIAS: csrr t1, mnstatus
-# uimm12
-# CHECK-INST: csrrs t2, mnstatus, zero
-# CHECK-ENC: encoding: [0xf3,0x23,0x40,0x74]
-# CHECK-INST-ALIAS: csrr t2, mnstatus
-# name
-csrrs t1, mnstatus, zero
-# uimm12
-csrrs t2, 0x744, zero
-
-
######################################
# Machine Counter Setup
######################################
More information about the llvm-commits
mailing list