[llvm] r371534 - [RISCV] Support llvm-objdump -M no-aliases and -M numeric
Sam Elliott via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 10 09:24:03 PDT 2019
Author: lenary
Date: Tue Sep 10 09:24:03 2019
New Revision: 371534
URL: http://llvm.org/viewvc/llvm-project?rev=371534&view=rev
Log:
[RISCV] Support llvm-objdump -M no-aliases and -M numeric
Summary:
Now that llvm-objdump allows target-specific options, we match the
`no-aliases` and `numeric` options for RISC-V, as supported by GNU objdump.
This is done by overriding the variables used for the command-line options, so
that the command-line options are still supported.
This patch updates all tests using `llvm-objdump -riscv-no-aliases` to use
`llvm-objdump -M no-aliases`.
Reviewers: luismarques, asb
Reviewed By: luismarques, asb
Subscribers: pzheng, hiraditya, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, kito-cheng, shiva0217, jrtc27, MaskRay, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, psnobl, benna, Jim, s.egerton, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66139
Modified:
llvm/trunk/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp
llvm/trunk/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.h
llvm/trunk/test/CodeGen/RISCV/compress-inline-asm.ll
llvm/trunk/test/CodeGen/RISCV/compress.ll
llvm/trunk/test/CodeGen/RISCV/option-norvc.ll
llvm/trunk/test/CodeGen/RISCV/option-rvc.ll
llvm/trunk/test/MC/RISCV/align.s
llvm/trunk/test/MC/RISCV/cnop.s
llvm/trunk/test/MC/RISCV/compress-cjal.s
llvm/trunk/test/MC/RISCV/compress-rv32d.s
llvm/trunk/test/MC/RISCV/compress-rv32f.s
llvm/trunk/test/MC/RISCV/compress-rv32i.s
llvm/trunk/test/MC/RISCV/compress-rv64i.s
llvm/trunk/test/MC/RISCV/csr-aliases.s
llvm/trunk/test/MC/RISCV/fixups-compressed.s
llvm/trunk/test/MC/RISCV/fixups.s
llvm/trunk/test/MC/RISCV/numeric-reg-names-d.s
llvm/trunk/test/MC/RISCV/numeric-reg-names-f.s
llvm/trunk/test/MC/RISCV/numeric-reg-names.s
llvm/trunk/test/MC/RISCV/option-mix.s
llvm/trunk/test/MC/RISCV/option-rvc.s
llvm/trunk/test/MC/RISCV/priv-valid.s
llvm/trunk/test/MC/RISCV/rv32-relaxation.s
llvm/trunk/test/MC/RISCV/rv32a-valid.s
llvm/trunk/test/MC/RISCV/rv32c-aliases-valid.s
llvm/trunk/test/MC/RISCV/rv32c-only-valid.s
llvm/trunk/test/MC/RISCV/rv32c-valid.s
llvm/trunk/test/MC/RISCV/rv32d-valid.s
llvm/trunk/test/MC/RISCV/rv32dc-valid.s
llvm/trunk/test/MC/RISCV/rv32e-invalid.s
llvm/trunk/test/MC/RISCV/rv32e-valid.s
llvm/trunk/test/MC/RISCV/rv32f-valid.s
llvm/trunk/test/MC/RISCV/rv32fc-aliases-valid.s
llvm/trunk/test/MC/RISCV/rv32fc-valid.s
llvm/trunk/test/MC/RISCV/rv32i-aliases-valid.s
llvm/trunk/test/MC/RISCV/rv32i-valid.s
llvm/trunk/test/MC/RISCV/rv32m-valid.s
llvm/trunk/test/MC/RISCV/rv64-relaxation.s
llvm/trunk/test/MC/RISCV/rv64a-aliases-valid.s
llvm/trunk/test/MC/RISCV/rv64a-valid.s
llvm/trunk/test/MC/RISCV/rv64c-aliases-valid.s
llvm/trunk/test/MC/RISCV/rv64c-hints-valid.s
llvm/trunk/test/MC/RISCV/rv64c-valid.s
llvm/trunk/test/MC/RISCV/rv64d-aliases-valid.s
llvm/trunk/test/MC/RISCV/rv64d-valid.s
llvm/trunk/test/MC/RISCV/rv64dc-valid.s
llvm/trunk/test/MC/RISCV/rv64f-aliases-valid.s
llvm/trunk/test/MC/RISCV/rv64f-valid.s
llvm/trunk/test/MC/RISCV/rv64i-aliases-valid.s
llvm/trunk/test/MC/RISCV/rv64i-valid.s
llvm/trunk/test/MC/RISCV/rv64m-valid.s
llvm/trunk/test/MC/RISCV/rva-aliases-valid.s
llvm/trunk/test/MC/RISCV/rvc-aliases-valid.s
llvm/trunk/test/MC/RISCV/rvc-hints-valid.s
llvm/trunk/test/MC/RISCV/rvd-aliases-valid.s
llvm/trunk/test/MC/RISCV/rvdc-aliases-valid.s
llvm/trunk/test/MC/RISCV/rvf-aliases-valid.s
llvm/trunk/test/MC/RISCV/rvi-aliases-valid.s
Modified: llvm/trunk/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp (original)
+++ llvm/trunk/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp Tue Sep 10 09:24:03 2019
@@ -45,6 +45,24 @@ static cl::opt<bool>
"ABI names (such as x2 instead of sp)"),
cl::init(false), cl::Hidden);
+// The command-line flags above are used by llvm-mc and llc. They can be used by
+// `llvm-objdump`, but we override their values here to handle options passed to
+// `llvm-objdump` with `-M` (which matches GNU objdump). There did not seem to
+// be an easier way to allow these options in all these tools, without doing it
+// this way.
+bool RISCVInstPrinter::applyTargetSpecificCLOption(StringRef Opt) {
+ if (Opt == "no-aliases") {
+ NoAliases = true;
+ return true;
+ }
+ if (Opt == "numeric") {
+ ArchRegNames = true;
+ return true;
+ }
+
+ return false;
+}
+
void RISCVInstPrinter::printInst(const MCInst *MI, raw_ostream &O,
StringRef Annot, const MCSubtargetInfo &STI) {
bool Res = false;
Modified: llvm/trunk/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.h?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.h (original)
+++ llvm/trunk/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.h Tue Sep 10 09:24:03 2019
@@ -25,6 +25,8 @@ public:
const MCRegisterInfo &MRI)
: MCInstPrinter(MAI, MII, MRI) {}
+ bool applyTargetSpecificCLOption(StringRef Opt) override;
+
void printInst(const MCInst *MI, raw_ostream &O, StringRef Annot,
const MCSubtargetInfo &STI) override;
void printRegName(raw_ostream &O, unsigned RegNo) const override;
Modified: llvm/trunk/test/CodeGen/RISCV/compress-inline-asm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/RISCV/compress-inline-asm.ll?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/RISCV/compress-inline-asm.ll (original)
+++ llvm/trunk/test/CodeGen/RISCV/compress-inline-asm.ll Tue Sep 10 09:24:03 2019
@@ -1,5 +1,5 @@
; RUN: llc -mtriple=riscv32 -mattr=+c -filetype=obj < %s\
-; RUN: | llvm-objdump -triple=riscv32 -mattr=+c -d -riscv-no-aliases -\
+; RUN: | llvm-objdump -triple=riscv32 -mattr=+c -d -M no-aliases -\
; RUN: | FileCheck -check-prefix=CHECK %s
@ext = external global i32
Modified: llvm/trunk/test/CodeGen/RISCV/compress.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/RISCV/compress.ll?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/RISCV/compress.ll (original)
+++ llvm/trunk/test/CodeGen/RISCV/compress.ll Tue Sep 10 09:24:03 2019
@@ -1,6 +1,6 @@
; RUN: llc -mtriple=riscv32 -mattr=+c -filetype=obj \
; RUN: -disable-block-placement < %s \
-; RUN: | llvm-objdump -d -triple=riscv32 -mattr=+c -riscv-no-aliases - \
+; RUN: | llvm-objdump -d -triple=riscv32 -mattr=+c -M no-aliases - \
; RUN: | FileCheck -check-prefix=RV32IC %s
; This acts as a sanity check for the codegen instruction compression path,
Modified: llvm/trunk/test/CodeGen/RISCV/option-norvc.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/RISCV/option-norvc.ll?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/RISCV/option-norvc.ll (original)
+++ llvm/trunk/test/CodeGen/RISCV/option-norvc.ll Tue Sep 10 09:24:03 2019
@@ -1,5 +1,5 @@
; RUN: llc -mtriple=riscv32 -mattr=+c -filetype=obj < %s\
-; RUN: | llvm-objdump -triple=riscv32 -mattr=+c -d -riscv-no-aliases -\
+; RUN: | llvm-objdump -triple=riscv32 -mattr=+c -d -M no-aliases -\
; RUN: | FileCheck -check-prefix=CHECK %s
; This test demonstrates that .option norvc has no effect on codegen when
Modified: llvm/trunk/test/CodeGen/RISCV/option-rvc.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/RISCV/option-rvc.ll?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/RISCV/option-rvc.ll (original)
+++ llvm/trunk/test/CodeGen/RISCV/option-rvc.ll Tue Sep 10 09:24:03 2019
@@ -1,5 +1,5 @@
; RUN: llc -mtriple=riscv32 -filetype=obj < %s\
-; RUN: | llvm-objdump -triple=riscv32 -mattr=+c -d -riscv-no-aliases -\
+; RUN: | llvm-objdump -triple=riscv32 -mattr=+c -d -M no-aliases -\
; RUN: | FileCheck -check-prefix=CHECK %s
; This test demonstrates that .option norvc has no effect on codegen when
Modified: llvm/trunk/test/MC/RISCV/align.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/align.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/align.s (original)
+++ llvm/trunk/test/MC/RISCV/align.s Tue Sep 10 09:24:03 2019
@@ -2,28 +2,28 @@
# Relaxation enabled:
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+relax < %s \
-# RUN: | llvm-objdump -d -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -M no-aliases - \
# RUN: | FileCheck -check-prefix=RELAX-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+relax < %s \
# RUN: | llvm-readobj -r | FileCheck -check-prefix=RELAX-RELOC %s
# Relaxation disabled:
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=-relax < %s \
-# RUN: | llvm-objdump -d -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -M no-aliases - \
# RUN: | FileCheck -check-prefix=NORELAX-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=-relax < %s \
# RUN: | llvm-readobj -r | FileCheck -check-prefix=NORELAX-RELOC %s
# Relaxation enabled with C extension:
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c,+relax < %s \
-# RUN: | llvm-objdump -d -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -M no-aliases - \
# RUN: | FileCheck -check-prefix=C-EXT-RELAX-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c,+relax < %s \
# RUN: | llvm-readobj -r | FileCheck -check-prefix=C-EXT-RELAX-RELOC %s
# Relaxation disabled with C extension:
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c,-relax < %s \
-# RUN: | llvm-objdump -d -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -M no-aliases - \
# RUN: | FileCheck -check-prefix=C-EXT-NORELAX-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c,-relax < %s \
# RUN: | llvm-readobj -r | FileCheck -check-prefix=C-EXT-NORELAX-RELOC %s
Modified: llvm/trunk/test/MC/RISCV/cnop.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/cnop.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/cnop.s (original)
+++ llvm/trunk/test/MC/RISCV/cnop.s Tue Sep 10 09:24:03 2019
@@ -1,5 +1,5 @@
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c < %s \
-# RUN: | llvm-objdump -d -riscv-no-aliases - | FileCheck -check-prefix=CHECK-INST %s
+# RUN: | llvm-objdump -d -M no-aliases - | FileCheck -check-prefix=CHECK-INST %s
# alpha and main are 8 byte alignment
# but the alpha function's size is 6
Modified: llvm/trunk/test/MC/RISCV/compress-cjal.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/compress-cjal.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/compress-cjal.s (original)
+++ llvm/trunk/test/MC/RISCV/compress-cjal.s Tue Sep 10 09:24:03 2019
@@ -6,7 +6,7 @@
# RUN: | llvm-objdump -triple riscv32 -mattr=+c -d - \
# RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
# RUN: llvm-mc -triple riscv32 -mattr=+c -filetype=obj < %s \
-# RUN: | llvm-objdump -triple riscv32 -mattr=+c -d -riscv-no-aliases - \
+# RUN: | llvm-objdump -triple riscv32 -mattr=+c -d -M no-aliases - \
# RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
# c.jal is an rv32 only instruction.
Modified: llvm/trunk/test/MC/RISCV/compress-rv32d.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/compress-rv32d.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/compress-rv32d.s (original)
+++ llvm/trunk/test/MC/RISCV/compress-rv32d.s Tue Sep 10 09:24:03 2019
@@ -6,7 +6,7 @@
# RUN: | llvm-objdump -triple riscv32 -mattr=+c,+d -d - \
# RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
# RUN: llvm-mc -triple riscv32 -mattr=+c,+d -filetype=obj < %s \
-# RUN: | llvm-objdump -triple riscv32 -mattr=+c,+d -d -riscv-no-aliases - \
+# RUN: | llvm-objdump -triple riscv32 -mattr=+c,+d -d -M no-aliases - \
# RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
# RUN: llvm-mc -triple riscv64 -mattr=+c,+d -show-encoding < %s \
@@ -17,7 +17,7 @@
# RUN: | llvm-objdump -triple riscv64 -mattr=+c,+d -d - \
# RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
# RUN: llvm-mc -triple riscv64 -mattr=+c,+d -filetype=obj < %s \
-# RUN: | llvm-objdump -triple riscv64 -mattr=+c,+d -d -riscv-no-aliases - \
+# RUN: | llvm-objdump -triple riscv64 -mattr=+c,+d -d -M no-aliases - \
# RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
# Tests double precision floating point instructions available in rv32 and in rv64.
Modified: llvm/trunk/test/MC/RISCV/compress-rv32f.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/compress-rv32f.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/compress-rv32f.s (original)
+++ llvm/trunk/test/MC/RISCV/compress-rv32f.s Tue Sep 10 09:24:03 2019
@@ -6,7 +6,7 @@
# RUN: | llvm-objdump -triple riscv32 -mattr=+c,+f -d - \
# RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
# RUN: llvm-mc -triple riscv32 -mattr=+c,+f -filetype=obj < %s \
-# RUN: | llvm-objdump -triple riscv32 -mattr=+c,+f -d -riscv-no-aliases - \
+# RUN: | llvm-objdump -triple riscv32 -mattr=+c,+f -d -M no-aliases - \
# RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
# Instructions that are 32 bit only.
Modified: llvm/trunk/test/MC/RISCV/compress-rv32i.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/compress-rv32i.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/compress-rv32i.s (original)
+++ llvm/trunk/test/MC/RISCV/compress-rv32i.s Tue Sep 10 09:24:03 2019
@@ -6,7 +6,7 @@
# RUN: | llvm-objdump -triple riscv32 -mattr=+c -d - \
# RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
# RUN: llvm-mc -triple riscv32 -mattr=+c -filetype=obj < %s \
-# RUN: | llvm-objdump -triple riscv32 -mattr=+c -d -riscv-no-aliases - \
+# RUN: | llvm-objdump -triple riscv32 -mattr=+c -d -M no-aliases - \
# RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
# RUN: llvm-mc -triple riscv64 -mattr=+c -show-encoding < %s \
@@ -17,7 +17,7 @@
# RUN: | llvm-objdump -triple riscv64 -mattr=+c -d - \
# RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
# RUN: llvm-mc -triple riscv64 -mattr=+c -filetype=obj < %s \
-# RUN: | llvm-objdump -triple riscv64 -mattr=+c -d -riscv-no-aliases - \
+# RUN: | llvm-objdump -triple riscv64 -mattr=+c -d -M no-aliases - \
# RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
# CHECK-BYTES: 2e 85
Modified: llvm/trunk/test/MC/RISCV/compress-rv64i.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/compress-rv64i.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/compress-rv64i.s (original)
+++ llvm/trunk/test/MC/RISCV/compress-rv64i.s Tue Sep 10 09:24:03 2019
@@ -6,7 +6,7 @@
# RUN: | llvm-objdump -triple riscv64 -mattr=+c -d - \
# RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
# RUN: llvm-mc -triple riscv64 -mattr=+c -filetype=obj < %s \
-# RUN: | llvm-objdump -triple riscv64 -mattr=+c -d -riscv-no-aliases - \
+# RUN: | llvm-objdump -triple riscv64 -mattr=+c -d -M no-aliases - \
# RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
# Tests compressed instructions available in rv64 and not in rv32.
Modified: llvm/trunk/test/MC/RISCV/csr-aliases.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/csr-aliases.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/csr-aliases.s (original)
+++ llvm/trunk/test/MC/RISCV/csr-aliases.s Tue Sep 10 09:24:03 2019
@@ -1,5 +1,5 @@
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+f < %s \
-# RUN: | llvm-objdump -d -mattr=+f -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -mattr=+f -M no-aliases - \
# RUN: | FileCheck -check-prefix=CHECK-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+f < %s \
# RUN: | llvm-objdump -d -mattr=+f - \
@@ -18,7 +18,7 @@
# RUN: | FileCheck -check-prefix=CHECK-EXT-F-OFF %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+f < %s \
-# RUN: | llvm-objdump -d -mattr=+f -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -mattr=+f -M no-aliases - \
# RUN: | FileCheck -check-prefix=CHECK-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+f < %s \
# RUN: | llvm-objdump -d -mattr=+f - \
Modified: llvm/trunk/test/MC/RISCV/fixups-compressed.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/fixups-compressed.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/fixups-compressed.s (original)
+++ llvm/trunk/test/MC/RISCV/fixups-compressed.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc %s -triple riscv32 -mattr=+c -show-encoding \
# RUN: | FileCheck -check-prefix=CHECK-FIXUP %s
# RUN: llvm-mc -triple riscv32 -filetype=obj -mattr=+c < %s \
-# RUN: | llvm-objdump -d -riscv-no-aliases - | FileCheck -check-prefix=CHECK-INSTR %s
+# RUN: | llvm-objdump -d -M no-aliases - | FileCheck -check-prefix=CHECK-INSTR %s
# RUN: llvm-mc -filetype=obj -mattr=+c -triple=riscv32 %s \
# RUN: | llvm-readobj -r | FileCheck %s -check-prefix=CHECK-REL
Modified: llvm/trunk/test/MC/RISCV/fixups.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/fixups.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/fixups.s (original)
+++ llvm/trunk/test/MC/RISCV/fixups.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc -triple riscv32 -riscv-no-aliases < %s -show-encoding \
# RUN: | FileCheck -check-prefix=CHECK-FIXUP %s
# RUN: llvm-mc -filetype=obj -triple riscv32 < %s \
-# RUN: | llvm-objdump -riscv-no-aliases -d - \
+# RUN: | llvm-objdump -M no-aliases -d - \
# RUN: | FileCheck -check-prefix=CHECK-INSTR %s
# RUN: llvm-mc -filetype=obj -triple=riscv32 %s \
# RUN: | llvm-readobj -r | FileCheck %s -check-prefix=CHECK-REL
Modified: llvm/trunk/test/MC/RISCV/numeric-reg-names-d.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/numeric-reg-names-d.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/numeric-reg-names-d.s (original)
+++ llvm/trunk/test/MC/RISCV/numeric-reg-names-d.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc -triple riscv32 -mattr=+f,+d < %s -riscv-arch-reg-names \
# RUN: | FileCheck -check-prefix=CHECK-NUMERIC %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+f,+d < %s \
-# RUN: | llvm-objdump -mattr=+f,+d -d -riscv-arch-reg-names - \
+# RUN: | llvm-objdump -mattr=+f,+d -d -M numeric - \
# RUN: | FileCheck -check-prefix=CHECK-NUMERIC %s
# CHECK-NUMERIC: fsqrt.d f10, f0
Modified: llvm/trunk/test/MC/RISCV/numeric-reg-names-f.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/numeric-reg-names-f.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/numeric-reg-names-f.s (original)
+++ llvm/trunk/test/MC/RISCV/numeric-reg-names-f.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc -triple riscv32 -mattr=+f < %s -riscv-arch-reg-names \
# RUN: | FileCheck -check-prefix=CHECK-NUMERIC %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+f < %s \
-# RUN: | llvm-objdump -mattr=+f -d -riscv-arch-reg-names - \
+# RUN: | llvm-objdump -mattr=+f -d -M numeric - \
# RUN: | FileCheck -check-prefix=CHECK-NUMERIC %s
# CHECK-NUMERIC: fsqrt.s f10, f0
Modified: llvm/trunk/test/MC/RISCV/numeric-reg-names.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/numeric-reg-names.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/numeric-reg-names.s (original)
+++ llvm/trunk/test/MC/RISCV/numeric-reg-names.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc -triple riscv32 < %s -riscv-arch-reg-names \
# RUN: | FileCheck -check-prefix=CHECK-NUMERIC %s
# RUN: llvm-mc -filetype=obj -triple riscv32 < %s \
-# RUN: | llvm-objdump -d -riscv-arch-reg-names - \
+# RUN: | llvm-objdump -d -M numeric - \
# RUN: | FileCheck -check-prefix=CHECK-NUMERIC %s
# CHECK-NUMERIC: addi x10, x0, 1
Modified: llvm/trunk/test/MC/RISCV/option-mix.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/option-mix.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/option-mix.s (original)
+++ llvm/trunk/test/MC/RISCV/option-mix.s Tue Sep 10 09:24:03 2019
@@ -1,9 +1,9 @@
# RUN: llvm-mc %s -triple=riscv32 | FileCheck -check-prefix=ASM %s
# RUN: llvm-mc %s -triple=riscv64 | FileCheck -check-prefix=ASM %s
# RUN: llvm-mc -filetype=obj -triple riscv32 < %s \
-# RUN: | llvm-objdump -d -riscv-no-aliases - | FileCheck -check-prefix=DISASM %s
+# RUN: | llvm-objdump -d -M no-aliases - | FileCheck -check-prefix=DISASM %s
# RUN: llvm-mc -filetype=obj -triple riscv64 < %s \
-# RUN: | llvm-objdump -d -riscv-no-aliases - | FileCheck -check-prefix=DISASM %s
+# RUN: | llvm-objdump -d -M no-aliases - | FileCheck -check-prefix=DISASM %s
# Checks change of options does not cause error: could not find corresponding %pcrel_hi
# when assembling pseudoinstruction and its extended form.
Modified: llvm/trunk/test/MC/RISCV/option-rvc.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/option-rvc.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/option-rvc.s (original)
+++ llvm/trunk/test/MC/RISCV/option-rvc.s Tue Sep 10 09:24:03 2019
@@ -6,7 +6,7 @@
# RUN: | llvm-objdump -triple riscv32 -mattr=+c -d - \
# RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
# RUN: llvm-mc -triple riscv32 -filetype=obj < %s \
-# RUN: | llvm-objdump -triple riscv32 -mattr=+c -d -riscv-no-aliases - \
+# RUN: | llvm-objdump -triple riscv32 -mattr=+c -d -M no-aliases - \
# RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
# RUN: llvm-mc -triple riscv64 -show-encoding < %s \
@@ -17,7 +17,7 @@
# RUN: | llvm-objdump -triple riscv64 -mattr=+c -d - \
# RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-ALIAS %s
# RUN: llvm-mc -triple riscv64 -filetype=obj < %s \
-# RUN: | llvm-objdump -triple riscv64 -mattr=+c -d -riscv-no-aliases - \
+# RUN: | llvm-objdump -triple riscv64 -mattr=+c -d -M no-aliases - \
# RUN: | FileCheck -check-prefixes=CHECK-BYTES,CHECK-INST %s
# CHECK-BYTES: 13 85 05 00
Modified: llvm/trunk/test/MC/RISCV/priv-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/priv-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/priv-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/priv-valid.s Tue Sep 10 09:24:03 2019
@@ -3,10 +3,10 @@
# RUN: llvm-mc %s -triple=riscv64 -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK,CHECK-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv32 < %s \
-# RUN: | llvm-objdump -riscv-no-aliases -d - \
+# RUN: | llvm-objdump -M no-aliases -d - \
# RUN: | FileCheck -check-prefix=CHECK-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv64 < %s \
-# RUN: | llvm-objdump -riscv-no-aliases -d - \
+# RUN: | llvm-objdump -M no-aliases -d - \
# RUN: | FileCheck -check-prefix=CHECK-INST %s
# CHECK-INST: uret
Modified: llvm/trunk/test/MC/RISCV/rv32-relaxation.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv32-relaxation.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv32-relaxation.s (original)
+++ llvm/trunk/test/MC/RISCV/rv32-relaxation.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c < %s \
-# RUN: | llvm-objdump -d -riscv-no-aliases - | FileCheck -check-prefix=INSTR %s
+# RUN: | llvm-objdump -d -M no-aliases - | FileCheck -check-prefix=INSTR %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c,+relax < %s \
-# RUN: | llvm-objdump -d -riscv-no-aliases - | FileCheck -check-prefix=RELAX-INSTR %s
+# RUN: | llvm-objdump -d -M no-aliases - | FileCheck -check-prefix=RELAX-INSTR %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c,+relax < %s \
# RUN: | llvm-readobj -r | FileCheck -check-prefix=RELAX-RELOC %s
Modified: llvm/trunk/test/MC/RISCV/rv32a-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv32a-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv32a-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv32a-valid.s Tue Sep 10 09:24:03 2019
@@ -3,10 +3,10 @@
# RUN: llvm-mc %s -triple=riscv64 -mattr=+a -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+a < %s \
-# RUN: | llvm-objdump -mattr=+a -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+a -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+a < %s \
-# RUN: | llvm-objdump -mattr=+a -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+a -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
# CHECK-ASM-AND-OBJ: lr.w t0, (t1)
Modified: llvm/trunk/test/MC/RISCV/rv32c-aliases-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv32c-aliases-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv32c-aliases-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv32c-aliases-valid.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc -triple=riscv32 -mattr=+c -riscv-no-aliases < %s \
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND,CHECK-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c < %s \
-# RUN: | llvm-objdump -d -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -M no-aliases - \
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND,CHECK-INST %s
# The following check prefixes are used in this test:
Modified: llvm/trunk/test/MC/RISCV/rv32c-only-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv32c-only-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv32c-only-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv32c-only-valid.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc %s -triple=riscv32 -mattr=+c -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+c < %s \
-# RUN: | llvm-objdump -mattr=+c -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+c -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
#
# RUN: not llvm-mc -triple riscv32 \
Modified: llvm/trunk/test/MC/RISCV/rv32c-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv32c-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv32c-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv32c-valid.s Tue Sep 10 09:24:03 2019
@@ -1,12 +1,12 @@
# RUN: llvm-mc %s -triple=riscv32 -mattr=+c -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+c < %s \
-# RUN: | llvm-objdump -mattr=+c -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+c -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc %s -triple=riscv64 -mattr=+c -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+c < %s \
-# RUN: | llvm-objdump -mattr=+c -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+c -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
# TODO: more exhaustive testing of immediate encoding.
Modified: llvm/trunk/test/MC/RISCV/rv32d-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv32d-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv32d-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv32d-valid.s Tue Sep 10 09:24:03 2019
@@ -1,12 +1,12 @@
# RUN: llvm-mc %s -triple=riscv32 -mattr=+d -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+d < %s \
-# RUN: | llvm-objdump -mattr=+d -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+d -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc %s -triple=riscv64 -mattr=+d -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+d < %s \
-# RUN: | llvm-objdump -mattr=+d -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+d -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
# Support for the 'D' extension implies support for 'F'
Modified: llvm/trunk/test/MC/RISCV/rv32dc-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv32dc-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv32dc-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv32dc-valid.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc %s -triple=riscv32 -mattr=+c,+d -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+c,+d < %s \
-# RUN: | llvm-objdump -mattr=+c,+d -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+c,+d -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
#
# RUN: not llvm-mc -triple riscv32 -mattr=+c \
Modified: llvm/trunk/test/MC/RISCV/rv32e-invalid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv32e-invalid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv32e-invalid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv32e-invalid.s Tue Sep 10 09:24:03 2019
@@ -1,6 +1,6 @@
# RUN: not llvm-mc -triple riscv32 -mattr=+e < %s 2>&1 | FileCheck %s
# RUN: llvm-mc -filetype=obj -triple=riscv32 < %s \
-# RUN: | llvm-objdump -mattr=+e -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+e -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefix=CHECK-DIS %s
# Perform a simple sanity check that registers x16-x31 (and the equivalent
Modified: llvm/trunk/test/MC/RISCV/rv32e-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv32e-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv32e-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv32e-valid.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc %s -triple=riscv32 -riscv-no-aliases -mattr=+e -show-encoding \
# RUN: | FileCheck -check-prefix=CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+e < %s \
-# RUN: | llvm-objdump -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefix=CHECK-ASM-AND-OBJ %s
# This file provides a basic sanity check for RV32E, checking that the expected
Modified: llvm/trunk/test/MC/RISCV/rv32f-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv32f-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv32f-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv32f-valid.s Tue Sep 10 09:24:03 2019
@@ -3,10 +3,10 @@
# RUN: llvm-mc %s -triple=riscv64 -mattr=+f -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+f < %s \
-# RUN: | llvm-objdump -mattr=+f -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+f -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+f < %s \
-# RUN: | llvm-objdump -mattr=+f -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+f -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
# CHECK-ASM-AND-OBJ: flw ft0, 12(a0)
Modified: llvm/trunk/test/MC/RISCV/rv32fc-aliases-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv32fc-aliases-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv32fc-aliases-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv32fc-aliases-valid.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc %s -triple=riscv32 -mattr=+c,+f -riscv-no-aliases \
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c,+f < %s \
-# RUN: | llvm-objdump -mattr=+c,+f -riscv-no-aliases -d - \
+# RUN: | llvm-objdump -mattr=+c,+f -M no-aliases -d - \
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
# CHECK-EXPAND: c.flw fs0, 0(s1)
Modified: llvm/trunk/test/MC/RISCV/rv32fc-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv32fc-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv32fc-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv32fc-valid.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc %s -triple=riscv32 -mattr=+c,+f -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+c,+f < %s \
-# RUN: | llvm-objdump -mattr=+c,+f -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+c,+f -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
#
# RUN: not llvm-mc -triple riscv32 -mattr=+c \
Modified: llvm/trunk/test/MC/RISCV/rv32i-aliases-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv32i-aliases-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv32i-aliases-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv32i-aliases-valid.s Tue Sep 10 09:24:03 2019
@@ -3,7 +3,7 @@
# RUN: llvm-mc %s -triple=riscv32 \
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND,CHECK-ALIAS %s
# RUN: llvm-mc -filetype=obj -triple riscv32 < %s \
-# RUN: | llvm-objdump -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ-NOALIAS,CHECK-EXPAND,CHECK-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv32 < %s \
# RUN: | llvm-objdump -d -r - \
Modified: llvm/trunk/test/MC/RISCV/rv32i-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv32i-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv32i-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv32i-valid.s Tue Sep 10 09:24:03 2019
@@ -3,10 +3,10 @@
# RUN: llvm-mc %s -triple riscv64 -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv32 < %s \
-# RUN: | llvm-objdump -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv64 < %s \
-# RUN: | llvm-objdump -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
.equ CONST, 30
Modified: llvm/trunk/test/MC/RISCV/rv32m-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv32m-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv32m-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv32m-valid.s Tue Sep 10 09:24:03 2019
@@ -3,10 +3,10 @@
# RUN: llvm-mc %s -triple=riscv64 -mattr=+m -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+m < %s \
-# RUN: | llvm-objdump -mattr=+m -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+m -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+m < %s \
-# RUN: | llvm-objdump -mattr=+m -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+m -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
# CHECK-ASM-AND-OBJ: mul a4, ra, s0
Modified: llvm/trunk/test/MC/RISCV/rv64-relaxation.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv64-relaxation.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv64-relaxation.s (original)
+++ llvm/trunk/test/MC/RISCV/rv64-relaxation.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+c < %s \
-# RUN: | llvm-objdump -d -riscv-no-aliases - | FileCheck -check-prefix=INSTR %s
+# RUN: | llvm-objdump -d -M no-aliases - | FileCheck -check-prefix=INSTR %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+c,+relax < %s \
-# RUN: | llvm-objdump -d -riscv-no-aliases - | FileCheck -check-prefix=RELAX-INSTR %s
+# RUN: | llvm-objdump -d -M no-aliases - | FileCheck -check-prefix=RELAX-INSTR %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+c,+relax < %s \
# RUN: | llvm-readobj -r | FileCheck -check-prefix=RELAX-RELOC %s
Modified: llvm/trunk/test/MC/RISCV/rv64a-aliases-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv64a-aliases-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv64a-aliases-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv64a-aliases-valid.s Tue Sep 10 09:24:03 2019
@@ -3,7 +3,7 @@
# RUN: llvm-mc %s -triple=riscv64 -mattr=+a \
# RUN: | FileCheck -check-prefix=CHECK-ALIAS %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+a < %s \
-# RUN: | llvm-objdump -d -mattr=+a -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -mattr=+a -M no-aliases - \
# RUN: | FileCheck -check-prefix=CHECK-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+a < %s \
# RUN: | llvm-objdump -d -mattr=+a - \
Modified: llvm/trunk/test/MC/RISCV/rv64a-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv64a-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv64a-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv64a-valid.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc %s -triple=riscv64 -mattr=+a -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+a < %s \
-# RUN: | llvm-objdump -mattr=+a -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+a -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
#
# RUN: not llvm-mc -triple riscv32 -mattr=+a < %s 2>&1 \
Modified: llvm/trunk/test/MC/RISCV/rv64c-aliases-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv64c-aliases-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv64c-aliases-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv64c-aliases-valid.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc -triple=riscv64 -mattr=+c -riscv-no-aliases < %s \
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND,CHECK-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+c < %s \
-# RUN: | llvm-objdump -d -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -M no-aliases - \
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND,CHECK-INST %s
# The following check prefixes are used in this test:
Modified: llvm/trunk/test/MC/RISCV/rv64c-hints-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv64c-hints-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv64c-hints-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv64c-hints-valid.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc %s -triple riscv64 -mattr=+c -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+c < %s \
-# RUN: | llvm-objdump -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
# CHECK-ASM-AND-OBJ: c.slli zero, 63
Modified: llvm/trunk/test/MC/RISCV/rv64c-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv64c-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv64c-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv64c-valid.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc %s -triple=riscv64 -mattr=+c -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+c < %s \
-# RUN: | llvm-objdump -mattr=+c -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+c -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
#
#
Modified: llvm/trunk/test/MC/RISCV/rv64d-aliases-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv64d-aliases-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv64d-aliases-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv64d-aliases-valid.s Tue Sep 10 09:24:03 2019
@@ -3,7 +3,7 @@
# RUN: llvm-mc %s -triple=riscv64 -mattr=+d \
# RUN: | FileCheck -check-prefix=CHECK-ALIAS %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+d < %s \
-# RUN: | llvm-objdump -d -mattr=+d -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -mattr=+d -M no-aliases - \
# RUN: | FileCheck -check-prefix=CHECK-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+d < %s \
# RUN: | llvm-objdump -d -mattr=+d - \
Modified: llvm/trunk/test/MC/RISCV/rv64d-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv64d-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv64d-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv64d-valid.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc %s -triple=riscv64 -mattr=+d -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+d < %s \
-# RUN: | llvm-objdump -mattr=+d -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+d -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
#
# RUN: not llvm-mc -triple riscv32 -mattr=+d < %s 2>&1 \
Modified: llvm/trunk/test/MC/RISCV/rv64dc-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv64dc-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv64dc-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv64dc-valid.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc %s -triple=riscv64 -mattr=+c,+d -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+c,+d < %s \
-# RUN: | llvm-objdump -mattr=+c,+d -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+c,+d -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
#
# RUN: not llvm-mc -triple riscv64 -mattr=+c \
Modified: llvm/trunk/test/MC/RISCV/rv64f-aliases-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv64f-aliases-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv64f-aliases-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv64f-aliases-valid.s Tue Sep 10 09:24:03 2019
@@ -3,7 +3,7 @@
# RUN: llvm-mc %s -triple=riscv64 -mattr=+f \
# RUN: | FileCheck -check-prefix=CHECK-ALIAS %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+f < %s \
-# RUN: | llvm-objdump -d -mattr=+f -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -mattr=+f -M no-aliases - \
# RUN: | FileCheck -check-prefix=CHECK-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+f < %s \
# RUN: | llvm-objdump -d -mattr=+f - \
Modified: llvm/trunk/test/MC/RISCV/rv64f-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv64f-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv64f-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv64f-valid.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc %s -triple=riscv64 -mattr=+f -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+f < %s \
-# RUN: | llvm-objdump -mattr=+f -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+f -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
#
# RUN: not llvm-mc -triple riscv32 -mattr=+f < %s 2>&1 \
Modified: llvm/trunk/test/MC/RISCV/rv64i-aliases-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv64i-aliases-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv64i-aliases-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv64i-aliases-valid.s Tue Sep 10 09:24:03 2019
@@ -3,7 +3,7 @@
# RUN: llvm-mc %s -triple=riscv64 \
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND,CHECK-ALIAS %s
# RUN: llvm-mc -filetype=obj -triple riscv64 < %s \
-# RUN: | llvm-objdump -riscv-no-aliases -d - \
+# RUN: | llvm-objdump -M no-aliases -d - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ-NOALIAS,CHECK-EXPAND,CHECK-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv64 < %s \
# RUN: | llvm-objdump -d - \
Modified: llvm/trunk/test/MC/RISCV/rv64i-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv64i-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv64i-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv64i-valid.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc %s -triple=riscv64 -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv64 < %s \
-# RUN: | llvm-objdump -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
.equ CONST, 31
Modified: llvm/trunk/test/MC/RISCV/rv64m-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rv64m-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rv64m-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rv64m-valid.s Tue Sep 10 09:24:03 2019
@@ -1,7 +1,7 @@
# RUN: llvm-mc %s -triple=riscv64 -mattr=+m -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+m < %s \
-# RUN: | llvm-objdump -mattr=+m -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -mattr=+m -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
# CHECK-ASM-AND-OBJ: mulw ra, sp, gp
Modified: llvm/trunk/test/MC/RISCV/rva-aliases-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rva-aliases-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rva-aliases-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rva-aliases-valid.s Tue Sep 10 09:24:03 2019
@@ -7,13 +7,13 @@
# RUN: llvm-mc %s -triple=riscv64 -mattr=+a \
# RUN: | FileCheck -check-prefixes=CHECK-S,CHECK-S-OBJ %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+a < %s \
-# RUN: | llvm-objdump -d -mattr=+a -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -mattr=+a -M no-aliases - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ-NOALIAS,CHECK-S-OBJ-NOALIAS %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+a < %s \
# RUN: | llvm-objdump -d -mattr=+a - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-S-OBJ %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+a < %s \
-# RUN: | llvm-objdump -d -mattr=+a -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -mattr=+a -M no-aliases - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ-NOALIAS,CHECK-S-OBJ-NOALIAS %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+a < %s \
# RUN: | llvm-objdump -d -mattr=+a - \
Modified: llvm/trunk/test/MC/RISCV/rvc-aliases-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rvc-aliases-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rvc-aliases-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rvc-aliases-valid.s Tue Sep 10 09:24:03 2019
@@ -3,10 +3,10 @@
# RUN: llvm-mc %s -triple=riscv64 -mattr=+c -riscv-no-aliases \
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c < %s \
-# RUN: | llvm-objdump -riscv-no-aliases -d - \
+# RUN: | llvm-objdump -M no-aliases -d - \
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+c < %s \
-# RUN: | llvm-objdump -riscv-no-aliases -d - \
+# RUN: | llvm-objdump -M no-aliases -d - \
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
# CHECK-EXPAND: c.lw s0, 0(s1)
Modified: llvm/trunk/test/MC/RISCV/rvc-hints-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rvc-hints-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rvc-hints-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rvc-hints-valid.s Tue Sep 10 09:24:03 2019
@@ -3,10 +3,10 @@
# RUN: llvm-mc %s -triple riscv64 -mattr=+c -riscv-no-aliases -show-encoding \
# RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+c < %s \
-# RUN: | llvm-objdump -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+c < %s \
-# RUN: | llvm-objdump -riscv-no-aliases -d -r - \
+# RUN: | llvm-objdump -M no-aliases -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-ASM-AND-OBJ %s
# CHECK-ASM-AND-OBJ: c.nop 8
Modified: llvm/trunk/test/MC/RISCV/rvd-aliases-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rvd-aliases-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rvd-aliases-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rvd-aliases-valid.s Tue Sep 10 09:24:03 2019
@@ -7,13 +7,13 @@
# RUN: llvm-mc %s -triple=riscv64 -mattr=+d \
# RUN: | FileCheck -check-prefix=CHECK-ALIAS %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+d < %s \
-# RUN: | llvm-objdump -d -mattr=+d -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -mattr=+d -M no-aliases - \
# RUN: | FileCheck -check-prefix=CHECK-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+d < %s \
# RUN: | llvm-objdump -d -mattr=+d - \
# RUN: | FileCheck -check-prefix=CHECK-ALIAS %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+d < %s \
-# RUN: | llvm-objdump -d -mattr=+d -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -mattr=+d -M no-aliases - \
# RUN: | FileCheck -check-prefix=CHECK-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+d < %s \
# RUN: | llvm-objdump -d -mattr=+d - \
Modified: llvm/trunk/test/MC/RISCV/rvdc-aliases-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rvdc-aliases-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rvdc-aliases-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rvdc-aliases-valid.s Tue Sep 10 09:24:03 2019
@@ -3,10 +3,10 @@
# RUN: llvm-mc %s -triple=riscv64 -mattr=+c,+d -riscv-no-aliases \
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c,+d < %s \
-# RUN: | llvm-objdump -mattr=+c,+d -riscv-no-aliases -d - \
+# RUN: | llvm-objdump -mattr=+c,+d -M no-aliases -d - \
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+c,+d < %s \
-# RUN: | llvm-objdump -mattr=+c,+d -riscv-no-aliases -d - \
+# RUN: | llvm-objdump -mattr=+c,+d -M no-aliases -d - \
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
c.fld f8, (x9)
Modified: llvm/trunk/test/MC/RISCV/rvf-aliases-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rvf-aliases-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rvf-aliases-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rvf-aliases-valid.s Tue Sep 10 09:24:03 2019
@@ -7,13 +7,13 @@
# RUN: llvm-mc %s -triple=riscv64 -mattr=+f \
# RUN: | FileCheck -check-prefix=CHECK-ALIAS %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+f < %s \
-# RUN: | llvm-objdump -d -mattr=+f -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -mattr=+f -M no-aliases - \
# RUN: | FileCheck -check-prefix=CHECK-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+f < %s \
# RUN: | llvm-objdump -d -mattr=+f - \
# RUN: | FileCheck -check-prefix=CHECK-ALIAS %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+f < %s \
-# RUN: | llvm-objdump -d -mattr=+f -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -mattr=+f -M no-aliases - \
# RUN: | FileCheck -check-prefix=CHECK-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+f < %s \
# RUN: | llvm-objdump -d -mattr=+f - \
Modified: llvm/trunk/test/MC/RISCV/rvi-aliases-valid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/RISCV/rvi-aliases-valid.s?rev=371534&r1=371533&r2=371534&view=diff
==============================================================================
--- llvm/trunk/test/MC/RISCV/rvi-aliases-valid.s (original)
+++ llvm/trunk/test/MC/RISCV/rvi-aliases-valid.s Tue Sep 10 09:24:03 2019
@@ -7,13 +7,13 @@
# RUN: llvm-mc %s -triple=riscv64 \
# RUN: | FileCheck -check-prefixes=CHECK-S,CHECK-S-OBJ %s
# RUN: llvm-mc -filetype=obj -triple riscv32 < %s \
-# RUN: | llvm-objdump -d -r -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -r -M no-aliases - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ-NOALIAS,CHECK-S-OBJ-NOALIAS %s
# RUN: llvm-mc -filetype=obj -triple riscv32 < %s \
# RUN: | llvm-objdump -d -r - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ,CHECK-S-OBJ %s
# RUN: llvm-mc -filetype=obj -triple riscv64 < %s \
-# RUN: | llvm-objdump -d -r -riscv-no-aliases - \
+# RUN: | llvm-objdump -d -r -M no-aliases - \
# RUN: | FileCheck -check-prefixes=CHECK-OBJ-NOALIAS,CHECK-S-OBJ-NOALIAS %s
# RUN: llvm-mc -filetype=obj -triple riscv64 < %s \
# RUN: | llvm-objdump -d -r - \
More information about the llvm-commits
mailing list