[PATCH] D43328: [RISCV] Update MC compression tests
Sameer AbuAsal via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 6 11:30:50 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL329441: [RISCV] Update MC compression tests (authored by sabuasal, committed by ).
Herald added a subscriber: zzheng.
Changed prior to commit:
https://reviews.llvm.org/D43328?vs=136673&id=141390#toc
Repository:
rL LLVM
https://reviews.llvm.org/D43328
Files:
llvm/trunk/test/MC/RISCV/cnop.s
llvm/trunk/test/MC/RISCV/rv32c-only-valid.s
Index: llvm/trunk/test/MC/RISCV/cnop.s
===================================================================
--- llvm/trunk/test/MC/RISCV/cnop.s
+++ llvm/trunk/test/MC/RISCV/cnop.s
@@ -10,8 +10,9 @@
.type alpha, at function
alpha:
# BB#0:
- addi sp, sp, -16
+ c.addi sp, -16
c.lw a0, 0(a0)
+ c.lw a1, 4(a0)
# CHECK-INST: c.nop
.Lfunc_end0:
.size alpha, .Lfunc_end0-alpha
Index: llvm/trunk/test/MC/RISCV/rv32c-only-valid.s
===================================================================
--- llvm/trunk/test/MC/RISCV/rv32c-only-valid.s
+++ llvm/trunk/test/MC/RISCV/rv32c-only-valid.s
@@ -1,7 +1,7 @@
# RUN: llvm-mc -triple=riscv32 -mattr=+c -riscv-no-aliases -show-encoding < %s \
# RUN: | FileCheck -check-prefixes=CHECK,CHECK-INST %s
-# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c -riscv-no-aliases < %s \
-# RUN: | llvm-objdump -d - | FileCheck -check-prefix=CHECK-INST %s
+# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c < %s \
+# RUN: | llvm-objdump -d -riscv-no-aliases - | FileCheck -check-prefix=CHECK-INST %s
# RUN: not llvm-mc -triple riscv32 \
# RUN: -riscv-no-aliases -show-encoding < %s 2>&1 \
# RUN: | FileCheck -check-prefixes=CHECK-NO-EXT %s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43328.141390.patch
Type: text/x-patch
Size: 1256 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180406/4a25072e/attachment.bin>
More information about the llvm-commits
mailing list