[llvm] r272906 - Remove redundant -mattr options from llvm-objdump commands.

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 16 08:47:19 PDT 2016


Author: dsanders
Date: Thu Jun 16 10:47:19 2016
New Revision: 272906

URL: http://llvm.org/viewvc/llvm-project?rev=272906&view=rev
Log:
Remove redundant -mattr options from llvm-objdump commands.

The -mattr options in these four tests have no effect on the output of
llvm-objdump. In the case of the two Mips tests, removing the -mattr option
left duplicate RUN lines so the duplicates have been removed.


Modified:
    llvm/trunk/test/MC/AArch64/optional-hash.s
    llvm/trunk/test/MC/Hexagon/v60-misc.s
    llvm/trunk/test/Object/Mips/feature.test
    llvm/trunk/test/Object/Mips/objdump-micro-mips.test

Modified: llvm/trunk/test/MC/AArch64/optional-hash.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AArch64/optional-hash.s?rev=272906&r1=272905&r2=272906&view=diff
==============================================================================
--- llvm/trunk/test/MC/AArch64/optional-hash.s (original)
+++ llvm/trunk/test/MC/AArch64/optional-hash.s Thu Jun 16 10:47:19 2016
@@ -1,6 +1,6 @@
 // PR18929
 // RUN: llvm-mc < %s -triple=aarch64-linux-gnueabi -mattr=+fp-armv8,+neon -filetype=obj -o - \
-// RUN: | llvm-objdump --disassemble -arch=arm64 -mattr=+fp-armv8,+neon - | FileCheck %s
+// RUN: | llvm-objdump --disassemble -arch=arm64 - | FileCheck %s
 
     .text
 // CHECK: cmp w0, #123

Modified: llvm/trunk/test/MC/Hexagon/v60-misc.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Hexagon/v60-misc.s?rev=272906&r1=272905&r2=272906&view=diff
==============================================================================
--- llvm/trunk/test/MC/Hexagon/v60-misc.s (original)
+++ llvm/trunk/test/MC/Hexagon/v60-misc.s Thu Jun 16 10:47:19 2016
@@ -1,4 +1,4 @@
-# RUN: llvm-mc -arch=hexagon -mcpu=hexagonv60 -mattr=+hvx -filetype=obj %s | llvm-objdump -arch=hexagon -mcpu=hexagonv60 -mattr=+hvx -d - | FileCheck %s
+# RUN: llvm-mc -arch=hexagon -mcpu=hexagonv60 -mattr=+hvx -filetype=obj %s | llvm-objdump -arch=hexagon -mcpu=hexagonv60 -d - | FileCheck %s
 
 .L0:
 

Modified: llvm/trunk/test/Object/Mips/feature.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/Mips/feature.test?rev=272906&r1=272905&r2=272906&view=diff
==============================================================================
--- llvm/trunk/test/Object/Mips/feature.test (original)
+++ llvm/trunk/test/Object/Mips/feature.test Thu Jun 16 10:47:19 2016
@@ -1,6 +1,4 @@
 RUN: llvm-objdump -disassemble %p/../Inputs/dext-test.elf-mips64r2 | FileCheck %s
-RUN: llvm-objdump -disassemble -mattr +mips64r2 %p/../Inputs/dext-test.elf-mips64r2 \
-RUN:   | FileCheck %s
 
 CHECK: Disassembly of section .text:
 CHECK: dext:

Modified: llvm/trunk/test/Object/Mips/objdump-micro-mips.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/Mips/objdump-micro-mips.test?rev=272906&r1=272905&r2=272906&view=diff
==============================================================================
--- llvm/trunk/test/Object/Mips/objdump-micro-mips.test (original)
+++ llvm/trunk/test/Object/Mips/objdump-micro-mips.test Thu Jun 16 10:47:19 2016
@@ -1,6 +1,4 @@
 RUN: llvm-objdump -d %p/../Inputs/micro-mips.elf-mipsel | FileCheck %s
-RUN: llvm-objdump -d -mattr=micromips %p/../Inputs/micro-mips.elf-mipsel \
-RUN:   | FileCheck %s
 
 CHECK:      foo:
 CHECK-NEXT:      330:   bd 33 f8 ff   addiu   $sp, $sp, -8




More information about the llvm-commits mailing list