[llvm] r373589 - [mips] Use llvm-readobj `-A` flag in test cases. NFC

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 3 05:08:05 PDT 2019


Author: atanasyan
Date: Thu Oct  3 05:08:04 2019
New Revision: 373589

URL: http://llvm.org/viewvc/llvm-project?rev=373589&view=rev
Log:
[mips] Use llvm-readobj `-A` flag in test cases. NFC

Modified:
    llvm/trunk/test/CodeGen/Mips/micromips-ase-function-attribute.ll
    llvm/trunk/test/MC/Mips/crc/module-crc.s
    llvm/trunk/test/MC/Mips/crc/module-nocrc.s
    llvm/trunk/test/MC/Mips/ginv/module-ginv.s
    llvm/trunk/test/MC/Mips/ginv/module-noginv.s
    llvm/trunk/test/MC/Mips/micromips-ase-directive.s
    llvm/trunk/test/MC/Mips/mips_abi_flags_xx.s
    llvm/trunk/test/MC/Mips/mips_abi_flags_xx_set.s
    llvm/trunk/test/MC/Mips/module-hardfloat.s
    llvm/trunk/test/MC/Mips/module-softfloat.s
    llvm/trunk/test/MC/Mips/mt/abiflag.s
    llvm/trunk/test/MC/Mips/mt/module-directive.s
    llvm/trunk/test/MC/Mips/mt/set-directive.s
    llvm/trunk/test/MC/Mips/virt/module-novirt.s
    llvm/trunk/test/MC/Mips/virt/module-virt.s
    llvm/trunk/test/Object/Mips/abi-flags.yaml
    llvm/trunk/test/tools/llvm-readobj/mips-abiflags.test

Modified: llvm/trunk/test/CodeGen/Mips/micromips-ase-function-attribute.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/micromips-ase-function-attribute.ll?rev=373589&r1=373588&r2=373589&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Mips/micromips-ase-function-attribute.ll (original)
+++ llvm/trunk/test/CodeGen/Mips/micromips-ase-function-attribute.ll Thu Oct  3 05:08:04 2019
@@ -1,5 +1,5 @@
 ; RUN: llc -mtriple=mips-unknown-linux -filetype=obj %s -o - | \
-; RUN:   llvm-readobj --mips-abi-flags | \
+; RUN:   llvm-readobj -A | \
 ; RUN:   FileCheck --check-prefix=ASE-MICROMIPS %s
 
 define void @_Z3foov() #0 {

Modified: llvm/trunk/test/MC/Mips/crc/module-crc.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/crc/module-crc.s?rev=373589&r1=373588&r2=373589&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/crc/module-crc.s (original)
+++ llvm/trunk/test/MC/Mips/crc/module-crc.s Thu Oct  3 05:08:04 2019
@@ -3,7 +3,7 @@
 #
 # RUN: llvm-mc %s -triple=mips-unknown-linux-gnu -mcpu=mips32r6 \
 # RUN:   -filetype=obj -o - | \
-# RUN:   llvm-readobj --mips-abi-flags - | \
+# RUN:   llvm-readobj -A - | \
 # RUN:   FileCheck %s -check-prefix=CHECK-OBJ
 
 # CHECK-ASM: .module crc

Modified: llvm/trunk/test/MC/Mips/crc/module-nocrc.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/crc/module-nocrc.s?rev=373589&r1=373588&r2=373589&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/crc/module-nocrc.s (original)
+++ llvm/trunk/test/MC/Mips/crc/module-nocrc.s Thu Oct  3 05:08:04 2019
@@ -2,7 +2,7 @@
 # RUN:   FileCheck %s -check-prefix=CHECK-ASM
 #
 # RUN: llvm-mc %s -arch=mips -mcpu=mips32r6 -filetype=obj -o - -mattr=+crc | \
-# RUN:   llvm-readobj --mips-abi-flags - | \
+# RUN:   llvm-readobj -A - | \
 # RUN:   FileCheck %s -check-prefix=CHECK-OBJ
 
 # CHECK-ASM: .module nocrc

Modified: llvm/trunk/test/MC/Mips/ginv/module-ginv.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/ginv/module-ginv.s?rev=373589&r1=373588&r2=373589&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/ginv/module-ginv.s (original)
+++ llvm/trunk/test/MC/Mips/ginv/module-ginv.s Thu Oct  3 05:08:04 2019
@@ -3,7 +3,7 @@
 #
 # RUN: llvm-mc %s -triple=mips-unknown-linux-gnu -mcpu=mips32r6 \
 # RUN:   -filetype=obj -o - | \
-# RUN:   llvm-readobj --mips-abi-flags - | \
+# RUN:   llvm-readobj -A - | \
 # RUN:   FileCheck %s -check-prefix=CHECK-OBJ
 
 # CHECK-ASM: .module ginv

Modified: llvm/trunk/test/MC/Mips/ginv/module-noginv.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/ginv/module-noginv.s?rev=373589&r1=373588&r2=373589&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/ginv/module-noginv.s (original)
+++ llvm/trunk/test/MC/Mips/ginv/module-noginv.s Thu Oct  3 05:08:04 2019
@@ -2,7 +2,7 @@
 # RUN:   FileCheck %s -check-prefix=CHECK-ASM
 #
 # RUN: llvm-mc %s -arch=mips -mcpu=mips32r6 -filetype=obj -o - -mattr=+ginv | \
-# RUN:   llvm-readobj --mips-abi-flags - | \
+# RUN:   llvm-readobj -A - | \
 # RUN:   FileCheck %s -check-prefix=CHECK-OBJ
 
 # CHECK-ASM: .module noginv

Modified: llvm/trunk/test/MC/Mips/micromips-ase-directive.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/micromips-ase-directive.s?rev=373589&r1=373588&r2=373589&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/micromips-ase-directive.s (original)
+++ llvm/trunk/test/MC/Mips/micromips-ase-directive.s Thu Oct  3 05:08:04 2019
@@ -1,5 +1,5 @@
 # RUN: llvm-mc -triple=mips-unknown-linux -filetype=obj %s -o - | \
-# RUN:   llvm-readobj --mips-abi-flags | \
+# RUN:   llvm-readobj -A | \
 # RUN:   FileCheck --check-prefix=ASE-MICROMIPS %s
 
 	.set	micromips

Modified: llvm/trunk/test/MC/Mips/mips_abi_flags_xx.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/mips_abi_flags_xx.s?rev=373589&r1=373588&r2=373589&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/mips_abi_flags_xx.s (original)
+++ llvm/trunk/test/MC/Mips/mips_abi_flags_xx.s Thu Oct  3 05:08:04 2019
@@ -2,19 +2,19 @@
 # RUN:   FileCheck %s -check-prefix=CHECK-ASM
 #
 # RUN: llvm-mc %s -triple mips-unknown-linux-gnu -filetype=obj -o - | \
-# RUN:   llvm-readobj --sections --section-data --section-relocations --mips-abi-flags - | \
+# RUN:   llvm-readobj --sections --section-data --section-relocations -A - | \
 # RUN:   FileCheck %s -check-prefixes=CHECK-OBJ,CHECK-OBJ-32R1,CHECK-OBJ-MIPS
 
 # RUN: llvm-mc /dev/null -triple mips-unknown-linux-gnu -mattr=fpxx -filetype=obj -o - | \
-# RUN:   llvm-readobj --sections --section-data --section-relocations --mips-abi-flags - | \
+# RUN:   llvm-readobj --sections --section-data --section-relocations -A - | \
 # RUN:   FileCheck %s -check-prefixes=CHECK-OBJ,CHECK-OBJ-32R1,CHECK-OBJ-MIPS
 
 # RUN: llvm-mc /dev/null -triple mips-unknown-linux-gnu -mcpu=mips32r6 -mattr=fpxx -filetype=obj -o - | \
-# RUN:   llvm-readobj --sections --section-data --section-relocations --mips-abi-flags - | \
+# RUN:   llvm-readobj --sections --section-data --section-relocations -A - | \
 # RUN:   FileCheck %s -check-prefixes=CHECK-OBJ,CHECK-OBJ-32R6,CHECK-OBJ-MIPS
 
 # RUN: llvm-mc /dev/null -triple mips64-unknown-linux-gnu -mcpu=octeon -filetype=obj -o - | \
-# RUN:   llvm-readobj --sections --section-data --section-relocations --mips-abi-flags - | \
+# RUN:   llvm-readobj --sections --section-data --section-relocations -A - | \
 # RUN:   FileCheck %s -check-prefixes=CHECK-OBJ,CHECK-OBJ-64R2,CHECK-OBJ-OCTEON
 
 # CHECK-ASM: .module fp=xx

Modified: llvm/trunk/test/MC/Mips/mips_abi_flags_xx_set.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/mips_abi_flags_xx_set.s?rev=373589&r1=373588&r2=373589&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/mips_abi_flags_xx_set.s (original)
+++ llvm/trunk/test/MC/Mips/mips_abi_flags_xx_set.s Thu Oct  3 05:08:04 2019
@@ -2,7 +2,7 @@
 # RUN:   FileCheck %s -check-prefix=CHECK-ASM
 #
 # RUN: llvm-mc %s -triple mips-unknown-linux-gnu -filetype=obj -o - | \
-# RUN:   llvm-readobj --sections --section-data --section-relocations --mips-abi-flags - | \
+# RUN:   llvm-readobj --sections --section-data --section-relocations -A - | \
 # RUN:     FileCheck %s -check-prefix=CHECK-OBJ
 
 # CHECK-ASM: .module fp=xx

Modified: llvm/trunk/test/MC/Mips/module-hardfloat.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/module-hardfloat.s?rev=373589&r1=373588&r2=373589&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/module-hardfloat.s (original)
+++ llvm/trunk/test/MC/Mips/module-hardfloat.s Thu Oct  3 05:08:04 2019
@@ -2,7 +2,7 @@
 # RUN:   FileCheck %s -check-prefix=CHECK-ASM
 #
 # RUN: llvm-mc %s -triple mips-unknown-linux-gnu -filetype=obj -o - | \
-# RUN:   llvm-readobj --mips-abi-flags - | \
+# RUN:   llvm-readobj -A - | \
 # RUN:     FileCheck %s -check-prefix=CHECK-OBJ
 
 # CHECK-ASM: .module hardfloat

Modified: llvm/trunk/test/MC/Mips/module-softfloat.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/module-softfloat.s?rev=373589&r1=373588&r2=373589&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/module-softfloat.s (original)
+++ llvm/trunk/test/MC/Mips/module-softfloat.s Thu Oct  3 05:08:04 2019
@@ -2,7 +2,7 @@
 # RUN:   FileCheck %s -check-prefix=CHECK-ASM
 #
 # RUN: llvm-mc %s -arch=mips -mcpu=mips32 -filetype=obj -o - | \
-# RUN:   llvm-readobj --mips-abi-flags - | \
+# RUN:   llvm-readobj -A - | \
 # RUN:     FileCheck %s -check-prefix=CHECK-OBJ
 
 # CHECK-ASM: .module softfloat

Modified: llvm/trunk/test/MC/Mips/mt/abiflag.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/mt/abiflag.s?rev=373589&r1=373588&r2=373589&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/mt/abiflag.s (original)
+++ llvm/trunk/test/MC/Mips/mt/abiflag.s Thu Oct  3 05:08:04 2019
@@ -1,5 +1,5 @@
 # RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -mattr=+mt -filetype=obj -o - \
-# RUN:   | llvm-readobj --mips-abi-flags | FileCheck %s
+# RUN:   | llvm-readobj -A | FileCheck %s
 
 # Test that the usage of the MT ASE is recorded in .MIPS.abiflags
 

Modified: llvm/trunk/test/MC/Mips/mt/module-directive.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/mt/module-directive.s?rev=373589&r1=373588&r2=373589&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/mt/module-directive.s (original)
+++ llvm/trunk/test/MC/Mips/mt/module-directive.s Thu Oct  3 05:08:04 2019
@@ -1,5 +1,5 @@
 # RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -filetype=obj -o - | \
-# RUN:   llvm-readobj --mips-abi-flags | FileCheck --check-prefix=CHECK-OBJ %s
+# RUN:   llvm-readobj -A | FileCheck --check-prefix=CHECK-OBJ %s
 # RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -filetype=asm -o - | \
 # RUN:   FileCheck --check-prefix=CHECK-ASM %s
 

Modified: llvm/trunk/test/MC/Mips/mt/set-directive.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/mt/set-directive.s?rev=373589&r1=373588&r2=373589&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/mt/set-directive.s (original)
+++ llvm/trunk/test/MC/Mips/mt/set-directive.s Thu Oct  3 05:08:04 2019
@@ -1,5 +1,5 @@
 # RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -filetype=obj -o - | \
-# RUN:   llvm-readobj --mips-abi-flags | FileCheck %s --check-prefix=CHECK-OBJ
+# RUN:   llvm-readobj -A | FileCheck %s --check-prefix=CHECK-OBJ
 # RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -filetype=asm -o - | \
 # RUN:   FileCheck %s --check-prefix=CHECK-ASM
 

Modified: llvm/trunk/test/MC/Mips/virt/module-novirt.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/virt/module-novirt.s?rev=373589&r1=373588&r2=373589&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/virt/module-novirt.s (original)
+++ llvm/trunk/test/MC/Mips/virt/module-novirt.s Thu Oct  3 05:08:04 2019
@@ -2,7 +2,7 @@
 # RUN:   FileCheck %s -check-prefix=CHECK-ASM
 #
 # RUN: llvm-mc %s -arch=mips -mcpu=mips32r5 -filetype=obj -o - -mattr=+virt | \
-# RUN:   llvm-readobj --mips-abi-flags - | \
+# RUN:   llvm-readobj -A - | \
 # RUN:   FileCheck %s -check-prefix=CHECK-OBJ
 
 # CHECK-ASM: .module novirt

Modified: llvm/trunk/test/MC/Mips/virt/module-virt.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/virt/module-virt.s?rev=373589&r1=373588&r2=373589&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/virt/module-virt.s (original)
+++ llvm/trunk/test/MC/Mips/virt/module-virt.s Thu Oct  3 05:08:04 2019
@@ -3,7 +3,7 @@
 #
 # RUN: llvm-mc %s -triple=mips-unknown-linux-gnu -mcpu=mips32r5 \
 # RUN:   -filetype=obj -o - | \
-# RUN:   llvm-readobj --mips-abi-flags - | \
+# RUN:   llvm-readobj -A - | \
 # RUN:   FileCheck %s -check-prefix=CHECK-OBJ
 
 # CHECK-ASM: .module virt

Modified: llvm/trunk/test/Object/Mips/abi-flags.yaml
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/Mips/abi-flags.yaml?rev=373589&r1=373588&r2=373589&view=diff
==============================================================================
--- llvm/trunk/test/Object/Mips/abi-flags.yaml (original)
+++ llvm/trunk/test/Object/Mips/abi-flags.yaml Thu Oct  3 05:08:04 2019
@@ -1,5 +1,5 @@
 # RUN: yaml2obj %s > %t
-# RUN: llvm-readobj --mips-abi-flags %t | FileCheck -check-prefix=OBJ %s
+# RUN: llvm-readobj -A %t | FileCheck -check-prefix=OBJ %s
 # RUN: obj2yaml %t | FileCheck -check-prefix=YAML %s
 
 # OBJ:      MIPS ABI Flags {

Modified: llvm/trunk/test/tools/llvm-readobj/mips-abiflags.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-readobj/mips-abiflags.test?rev=373589&r1=373588&r2=373589&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-readobj/mips-abiflags.test (original)
+++ llvm/trunk/test/tools/llvm-readobj/mips-abiflags.test Thu Oct  3 05:08:04 2019
@@ -1,6 +1,6 @@
-RUN: llvm-readobj --mips-abi-flags %p/Inputs/abiflags.obj.elf-mipsel | \
+RUN: llvm-readobj -A %p/Inputs/abiflags.obj.elf-mipsel | \
 RUN:   FileCheck -check-prefix=EL64 %s
-RUN: llvm-readobj --mips-abi-flags %p/Inputs/abiflags.obj.elf-mips | \
+RUN: llvm-readobj -A %p/Inputs/abiflags.obj.elf-mips | \
 RUN:   FileCheck -check-prefix=BE32 %s
 
 EL64:      MIPS ABI Flags {




More information about the llvm-commits mailing list