[PATCH] D116350: Modification of RVV CSR test file

liuyang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 28 18:27:24 PST 2021


nannan1025 created this revision.
nannan1025 added a reviewer: 01169957911.
Herald added subscribers: luke957, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb.
nannan1025 requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

The RVV CSR test file can be tested successfully without the mattr attribute


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116350

Files:
  llvm/test/MC/RISCV/rvv-user-csr-names.s


Index: llvm/test/MC/RISCV/rvv-user-csr-names.s
===================================================================
--- llvm/test/MC/RISCV/rvv-user-csr-names.s
+++ llvm/test/MC/RISCV/rvv-user-csr-names.s
@@ -1,13 +1,13 @@
 # RUN: llvm-mc %s -triple=riscv32 -riscv-no-aliases -mattr=+f -show-encoding \
 # RUN:     | FileCheck -check-prefixes=CHECK-INST,CHECK-ENC %s
-# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+v < %s \
-# RUN:     | llvm-objdump -d --mattr=+v - \
+# RUN: llvm-mc -filetype=obj -triple riscv32 < %s \
+# RUN:     | llvm-objdump -d  - \
 # RUN:     | FileCheck -check-prefix=CHECK-INST-ALIAS %s
 #
 # RUN: llvm-mc %s -triple=riscv64 -riscv-no-aliases -mattr=+f -show-encoding \
 # RUN:     | FileCheck -check-prefixes=CHECK-INST,CHECK-ENC %s
-# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+v < %s \
-# RUN:     | llvm-objdump -d --mattr=+v - \
+# RUN: llvm-mc -filetype=obj -triple riscv64 < %s \
+# RUN:     | llvm-objdump -d - \
 # RUN:     | FileCheck -check-prefix=CHECK-INST-ALIAS %s
 
 ##################################


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116350.396450.patch
Type: text/x-patch
Size: 1057 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211229/e02633cf/attachment.bin>


More information about the llvm-commits mailing list