Skip to content

Commit 8e3c742

Browse files
committed
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. llvm-svn: 272906
1 parent 9ba9c5b commit 8e3c742

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

llvm/test/MC/AArch64/optional-hash.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// PR18929
22
// RUN: llvm-mc < %s -triple=aarch64-linux-gnueabi -mattr=+fp-armv8,+neon -filetype=obj -o - \
3-
// RUN: | llvm-objdump --disassemble -arch=arm64 -mattr=+fp-armv8,+neon - | FileCheck %s
3+
// RUN: | llvm-objdump --disassemble -arch=arm64 - | FileCheck %s
44

55
.text
66
// CHECK: cmp w0, #123

llvm/test/MC/Hexagon/v60-misc.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llvm-mc -arch=hexagon -mcpu=hexagonv60 -mattr=+hvx -filetype=obj %s | llvm-objdump -arch=hexagon -mcpu=hexagonv60 -mattr=+hvx -d - | FileCheck %s
1+
# RUN: llvm-mc -arch=hexagon -mcpu=hexagonv60 -mattr=+hvx -filetype=obj %s | llvm-objdump -arch=hexagon -mcpu=hexagonv60 -d - | FileCheck %s
22

33
.L0:
44

llvm/test/Object/Mips/feature.test

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
RUN: llvm-objdump -disassemble %p/../Inputs/dext-test.elf-mips64r2 | FileCheck %s
2-
RUN: llvm-objdump -disassemble -mattr +mips64r2 %p/../Inputs/dext-test.elf-mips64r2 \
3-
RUN: | FileCheck %s
42

53
CHECK: Disassembly of section .text:
64
CHECK: dext:

llvm/test/Object/Mips/objdump-micro-mips.test

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
RUN: llvm-objdump -d %p/../Inputs/micro-mips.elf-mipsel | FileCheck %s
2-
RUN: llvm-objdump -d -mattr=micromips %p/../Inputs/micro-mips.elf-mipsel \
3-
RUN: | FileCheck %s
42

53
CHECK: foo:
64
CHECK-NEXT: 330: bd 33 f8 ff addiu $sp, $sp, -8

0 commit comments

Comments
 (0)