[llvm] r271653 - [mips] Remove CPU-only triples from llvm-objdump commands.
Daniel Sanders via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 3 03:22:22 PDT 2016
Author: dsanders
Date: Fri Jun 3 05:22:22 2016
New Revision: 271653
URL: http://llvm.org/viewvc/llvm-project?rev=271653&view=rev
Log:
[mips] Remove CPU-only triples from llvm-objdump commands.
Summary: They aren't necessary since llvm-objdump can auto-detect the architecture.
Reviewers: sdardis
Subscribers: jfb, dsanders, llvm-commits, sdardis
Differential Revision: http://reviews.llvm.org/D20904
Modified:
llvm/trunk/test/MC/Mips/higher-highest-addressing.s
llvm/trunk/test/MC/Mips/micromips-el-fixup-data.s
llvm/trunk/test/MC/Mips/mips64extins.ll
llvm/trunk/test/MC/Mips/mips64shift.ll
llvm/trunk/test/MC/Mips/nacl-mask.s
llvm/trunk/test/MC/Mips/sext_64_32.ll
llvm/trunk/test/Object/Mips/feature.test
Modified: llvm/trunk/test/MC/Mips/higher-highest-addressing.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/higher-highest-addressing.s?rev=271653&r1=271652&r2=271653&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/higher-highest-addressing.s (original)
+++ llvm/trunk/test/MC/Mips/higher-highest-addressing.s Fri Jun 3 05:22:22 2016
@@ -1,8 +1,8 @@
# RUN: llvm-mc -filetype=obj -triple=mips64el-unknown-linux -mcpu=mips64r2 %s \
-# RUN: | llvm-objdump -disassemble -triple mips64el - | FileCheck %s
+# RUN: | llvm-objdump -disassemble - | FileCheck %s
# RUN: llvm-mc -filetype=obj -triple=mips64el-unknown-linux -mcpu=mips64r2 %s \
-# RUN: | llvm-readobj -r | FileCheck %s -check-prefix=CHECK-REL
+# RUN: | llvm-readobj -r | FileCheck %s -check-prefix=CHECK-REL
# Test that R_MIPS_HIGHER and R_MIPS_HIGHEST relocations are created. By using
Modified: llvm/trunk/test/MC/Mips/micromips-el-fixup-data.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/micromips-el-fixup-data.s?rev=271653&r1=271652&r2=271653&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/micromips-el-fixup-data.s (original)
+++ llvm/trunk/test/MC/Mips/micromips-el-fixup-data.s Fri Jun 3 05:22:22 2016
@@ -1,6 +1,6 @@
# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 \
# RUN: -mattr=+micromips 2>&1 -filetype=obj > %t.o
-# RUN: llvm-objdump %t.o -triple mipsel -mattr=+micromips -d | FileCheck %s
+# RUN: llvm-objdump %t.o -mattr=+micromips -d | FileCheck %s
# Check that fixup data is written in the microMIPS specific little endian
# byte order.
Modified: llvm/trunk/test/MC/Mips/mips64extins.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/mips64extins.ll?rev=271653&r1=271652&r2=271653&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/mips64extins.ll (original)
+++ llvm/trunk/test/MC/Mips/mips64extins.ll Fri Jun 3 05:22:22 2016
@@ -1,6 +1,5 @@
; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 -target-abi=n64 %s -o - \
-; RUN: | llvm-objdump -disassemble -triple mips64el -mattr +mips64r2 - \
-; RUN: | FileCheck %s
+; RUN: | llvm-objdump -disassemble -mattr +mips64r2 - | FileCheck %s
define i64 @dext(i64 %i) nounwind readnone {
entry:
Modified: llvm/trunk/test/MC/Mips/mips64shift.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/mips64shift.ll?rev=271653&r1=271652&r2=271653&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/mips64shift.ll (original)
+++ llvm/trunk/test/MC/Mips/mips64shift.ll Fri Jun 3 05:22:22 2016
@@ -1,8 +1,8 @@
; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 -disable-mips-delay-filler %s -o - \
-; RUN: | llvm-objdump -disassemble -triple mips64el - | FileCheck %s
+; RUN: | llvm-objdump -disassemble - | FileCheck %s
; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 %s -o - \
-; RUN: | llvm-objdump -disassemble -triple mips64el - | FileCheck %s
+; RUN: | llvm-objdump -disassemble - | FileCheck %s
define i64 @f3(i64 %a0) nounwind readnone {
entry:
Modified: llvm/trunk/test/MC/Mips/nacl-mask.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/nacl-mask.s?rev=271653&r1=271652&r2=271653&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/nacl-mask.s (original)
+++ llvm/trunk/test/MC/Mips/nacl-mask.s Fri Jun 3 05:22:22 2016
@@ -1,6 +1,5 @@
# RUN: llvm-mc -filetype=obj -triple=mipsel-unknown-nacl %s \
-# RUN: | llvm-objdump -triple mipsel -disassemble -no-show-raw-insn - \
-# RUN: | FileCheck %s
+# RUN: | llvm-objdump -disassemble -no-show-raw-insn - | FileCheck %s
# This test tests that address-masking sandboxing is added when given assembly
# input.
Modified: llvm/trunk/test/MC/Mips/sext_64_32.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/sext_64_32.ll?rev=271653&r1=271652&r2=271653&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/sext_64_32.ll (original)
+++ llvm/trunk/test/MC/Mips/sext_64_32.ll Fri Jun 3 05:22:22 2016
@@ -1,4 +1,5 @@
-; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 %s -o - | llvm-objdump -disassemble -triple mips64el - | FileCheck %s
+; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 %s -o - | \
+; RUN: llvm-objdump -disassemble - | FileCheck %s
; Sign extend from 32 to 64 was creating nonsense opcodes
Modified: llvm/trunk/test/Object/Mips/feature.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/Mips/feature.test?rev=271653&r1=271652&r2=271653&view=diff
==============================================================================
--- llvm/trunk/test/Object/Mips/feature.test (original)
+++ llvm/trunk/test/Object/Mips/feature.test Fri Jun 3 05:22:22 2016
@@ -1,5 +1,5 @@
-RUN: llvm-objdump -disassemble -triple mips64el -mattr +mips64r2 %p/../Inputs/dext-test.elf-mips64r2 \
-RUN: | FileCheck %s
+RUN: llvm-objdump -disassemble -mattr +mips64r2 %p/../Inputs/dext-test.elf-mips64r2 \
+RUN: | FileCheck %s
CHECK: Disassembly of section .text:
CHECK: dext:
More information about the llvm-commits
mailing list