[llvm] 5e6e545 - [test] Re-enable accidentally disabled X86 tests

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 19 09:29:37 PDT 2020


Author: Vedant Kumar
Date: 2020-03-19T09:29:23-07:00
New Revision: 5e6e545cbab05589c8fcef5f03eca60dc227a6ca

URL: https://github.com/llvm/llvm-project/commit/5e6e545cbab05589c8fcef5f03eca60dc227a6ca
DIFF: https://github.com/llvm/llvm-project/commit/5e6e545cbab05589c8fcef5f03eca60dc227a6ca.diff

LOG: [test] Re-enable accidentally disabled X86 tests

A number of X86 tests were accidentally disabled in
https://reviews.llvm.org/D73568. This commit re-enables those tests.

```
$ for x86_test in $(gg 'REQUIRES: x86$' llvm/test | fst); do sed -i "" '/REQUIRES: x86/d' $x86_test; done
```

(Note that 'x86' is not an available feature, that's what caused the
tests to be disabled.)

Added: 
    

Modified: 
    llvm/test/DebugInfo/X86/arange.ll
    llvm/test/DebugInfo/X86/arguments.ll
    llvm/test/DebugInfo/X86/c-type-units.ll
    llvm/test/DebugInfo/X86/debug-loc-frame.ll
    llvm/test/DebugInfo/X86/debug-names-ir-disabled.ll
    llvm/test/DebugInfo/X86/debug-names-partial.ll
    llvm/test/DebugInfo/X86/debug-names-split-dwarf.ll
    llvm/test/DebugInfo/X86/decl-derived-member.ll
    llvm/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll
    llvm/test/DebugInfo/X86/generate-odr-hash.ll
    llvm/test/DebugInfo/X86/ghost-sdnode-dbgvalues.ll
    llvm/test/DebugInfo/X86/inline-member-function.ll
    llvm/test/DebugInfo/X86/lexical_block.ll
    llvm/test/DebugInfo/X86/missing-file-line.ll
    llvm/test/DebugInfo/X86/nodebug.ll
    llvm/test/DebugInfo/X86/nodebug_with_debug_loc.ll
    llvm/test/DebugInfo/X86/parameters.ll
    llvm/test/DebugInfo/X86/rematerialize.ll
    llvm/test/DebugInfo/X86/string-offsets-multiple-cus.ll
    llvm/test/DebugInfo/X86/string-offsets-table-order.ll
    llvm/test/DebugInfo/X86/string-offsets-table.ll
    llvm/test/DebugInfo/X86/template.ll
    llvm/test/DebugInfo/X86/tu-to-non-named-type.ll
    llvm/test/DebugInfo/X86/type_units_with_addresses.ll
    llvm/test/tools/llvm-objcopy/ELF/Inputs/partitions.elf.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/X86/arange.ll b/llvm/test/DebugInfo/X86/arange.ll
index f9facc795f54..49090bfc6107 100644
--- a/llvm/test/DebugInfo/X86/arange.ll
+++ b/llvm/test/DebugInfo/X86/arange.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 
 ; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj -generate-arange-section < %s | llvm-dwarfdump -debug-aranges - | FileCheck %s
 ; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj -generate-arange-section < %s | llvm-readobj --relocations - | FileCheck --check-prefix=OBJ %s

diff  --git a/llvm/test/DebugInfo/X86/arguments.ll b/llvm/test/DebugInfo/X86/arguments.ll
index 05b2981439bc..8f030867c3d9 100644
--- a/llvm/test/DebugInfo/X86/arguments.ll
+++ b/llvm/test/DebugInfo/X86/arguments.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 
 ; RUN: llc -mtriple=x86_64-unknown-unknown -O0 -filetype=obj < %s > %t
 ; RUN: llvm-dwarfdump %t | FileCheck %s

diff  --git a/llvm/test/DebugInfo/X86/c-type-units.ll b/llvm/test/DebugInfo/X86/c-type-units.ll
index 844823b2cda8..889bd79d27de 100644
--- a/llvm/test/DebugInfo/X86/c-type-units.ll
+++ b/llvm/test/DebugInfo/X86/c-type-units.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 
 ; RUN: llc -o - %s -filetype=obj -O0 -debugger-tune=lldb -generate-type-units -mtriple=x86_64-unknown-linux-gnu | llvm-dwarfdump -debug-types - | FileCheck %s
 

diff  --git a/llvm/test/DebugInfo/X86/debug-loc-frame.ll b/llvm/test/DebugInfo/X86/debug-loc-frame.ll
index 653ba1f3eb68..83c678ccedf9 100644
--- a/llvm/test/DebugInfo/X86/debug-loc-frame.ll
+++ b/llvm/test/DebugInfo/X86/debug-loc-frame.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 
 ; Check that when variables are allocated on the stack we generate debug locations
 ; for the stack location directly instead of generating a register+offset indirection.

diff  --git a/llvm/test/DebugInfo/X86/debug-names-ir-disabled.ll b/llvm/test/DebugInfo/X86/debug-names-ir-disabled.ll
index c1f1dc99ede5..6502c86a20b8 100644
--- a/llvm/test/DebugInfo/X86/debug-names-ir-disabled.ll
+++ b/llvm/test/DebugInfo/X86/debug-names-ir-disabled.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 
 ; Verify that no DWARF v5 names section is emitted when all CUs disable name tables.
 ; RUN: llc -mtriple x86_64-pc-linux -filetype=obj < %s \

diff  --git a/llvm/test/DebugInfo/X86/debug-names-partial.ll b/llvm/test/DebugInfo/X86/debug-names-partial.ll
index 28ee59ea7162..50a21d6b9cdc 100644
--- a/llvm/test/DebugInfo/X86/debug-names-partial.ll
+++ b/llvm/test/DebugInfo/X86/debug-names-partial.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 
 ; Verify that DWARF v5 debug_names omit names from CUs that opt-out.
 ; RUN: llc -mtriple x86_64-pc-linux -filetype=obj < %s \

diff  --git a/llvm/test/DebugInfo/X86/debug-names-split-dwarf.ll b/llvm/test/DebugInfo/X86/debug-names-split-dwarf.ll
index 26687e8143ce..66520395dadf 100644
--- a/llvm/test/DebugInfo/X86/debug-names-split-dwarf.ll
+++ b/llvm/test/DebugInfo/X86/debug-names-split-dwarf.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 
 ; Verify that DWARF v5 accelerator tables work with split-dwarf.
 ; RUN: llc -mtriple x86_64-pc-linux -split-dwarf-file=foo.dwo \

diff  --git a/llvm/test/DebugInfo/X86/decl-derived-member.ll b/llvm/test/DebugInfo/X86/decl-derived-member.ll
index acb39f4e8f6c..2d5ca1a87f9b 100644
--- a/llvm/test/DebugInfo/X86/decl-derived-member.ll
+++ b/llvm/test/DebugInfo/X86/decl-derived-member.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 
 ; RUN: llc -mtriple x86_64-pc-linux -O0 -filetype=obj %s -o %t
 ; RUN: llvm-dwarfdump %t | FileCheck %s

diff  --git a/llvm/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll b/llvm/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll
index c019d75c0dbf..931f77c72f78 100644
--- a/llvm/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll
+++ b/llvm/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll
@@ -12,7 +12,6 @@
 ; and fail with "failed to compute relocation: IMAGE_REL_AMD64_ADDR32".
 ; UNSUPPORTED: cygwin,windows-gnu,windows-msvc
 
-; REQUIRES: x86
 ; RUN: %llc_dwarf -mtriple=x86_64-- < %s -o - | FileCheck %s -check-prefix=ASM
 ; RUN: %llc_dwarf -debugger-tune=lldb -mtriple=x86_64-- < %s -filetype=obj -o %t.o
 ; RUN: llvm-dwarfdump %t.o -o - | FileCheck %s -check-prefix=OBJ -implicit-check-not=DW_TAG_call_site

diff  --git a/llvm/test/DebugInfo/X86/generate-odr-hash.ll b/llvm/test/DebugInfo/X86/generate-odr-hash.ll
index 68dcfda2254b..9fa954cd2485 100644
--- a/llvm/test/DebugInfo/X86/generate-odr-hash.ll
+++ b/llvm/test/DebugInfo/X86/generate-odr-hash.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 
 ; RUN: llc < %s -o %t -filetype=obj -O0 -generate-type-units -mtriple=x86_64-unknown-linux-gnu
 ; RUN: llvm-dwarfdump -v %t | FileCheck --check-prefix=CHECK --check-prefix=SINGLE %s

diff  --git a/llvm/test/DebugInfo/X86/ghost-sdnode-dbgvalues.ll b/llvm/test/DebugInfo/X86/ghost-sdnode-dbgvalues.ll
index 8796851e593c..f80b3ac16224 100644
--- a/llvm/test/DebugInfo/X86/ghost-sdnode-dbgvalues.ll
+++ b/llvm/test/DebugInfo/X86/ghost-sdnode-dbgvalues.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 
 ; RUN: llc -mtriple=x86_64-apple-macosx10.10.0 -o %t %s
 

diff  --git a/llvm/test/DebugInfo/X86/inline-member-function.ll b/llvm/test/DebugInfo/X86/inline-member-function.ll
index 76f1d86777ac..31cc5b0fa5cf 100644
--- a/llvm/test/DebugInfo/X86/inline-member-function.ll
+++ b/llvm/test/DebugInfo/X86/inline-member-function.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 
 ; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
 

diff  --git a/llvm/test/DebugInfo/X86/lexical_block.ll b/llvm/test/DebugInfo/X86/lexical_block.ll
index a08cb0346c12..1af231e8dfe0 100644
--- a/llvm/test/DebugInfo/X86/lexical_block.ll
+++ b/llvm/test/DebugInfo/X86/lexical_block.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 
 ; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj < %s \
 ; RUN:     | llvm-dwarfdump -v -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=CHECK-V4 %s

diff  --git a/llvm/test/DebugInfo/X86/missing-file-line.ll b/llvm/test/DebugInfo/X86/missing-file-line.ll
index 24cc418c4397..08f6f1529040 100644
--- a/llvm/test/DebugInfo/X86/missing-file-line.ll
+++ b/llvm/test/DebugInfo/X86/missing-file-line.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 
 ; RUN: llc -mtriple=x86_64-linux-gnu -filetype=obj %s -o - | llvm-dwarfdump -all - | FileCheck %s
 

diff  --git a/llvm/test/DebugInfo/X86/nodebug.ll b/llvm/test/DebugInfo/X86/nodebug.ll
index 6062f114f80b..b52254dea86b 100644
--- a/llvm/test/DebugInfo/X86/nodebug.ll
+++ b/llvm/test/DebugInfo/X86/nodebug.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 
 ; RUN: llc < %s -filetype=obj -mtriple=x86_64-apple-darwin | llvm-dwarfdump -v - | FileCheck %s
 

diff  --git a/llvm/test/DebugInfo/X86/nodebug_with_debug_loc.ll b/llvm/test/DebugInfo/X86/nodebug_with_debug_loc.ll
index 417922c0d9a9..a01e6c06398a 100644
--- a/llvm/test/DebugInfo/X86/nodebug_with_debug_loc.ll
+++ b/llvm/test/DebugInfo/X86/nodebug_with_debug_loc.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 
 ; RUN: llc -mtriple=i386-linux-gnu -filetype=obj -relocation-model=pic %s -o /dev/null
 

diff  --git a/llvm/test/DebugInfo/X86/parameters.ll b/llvm/test/DebugInfo/X86/parameters.ll
index f0a970471bb4..5f4edd5b963d 100644
--- a/llvm/test/DebugInfo/X86/parameters.ll
+++ b/llvm/test/DebugInfo/X86/parameters.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 ;
 ; RUN: llc -mtriple=x86_64-unknown-linux-gnu -O0 -filetype=obj %s -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s
 

diff  --git a/llvm/test/DebugInfo/X86/rematerialize.ll b/llvm/test/DebugInfo/X86/rematerialize.ll
index 4b646be2481e..f3e7e0a2086a 100644
--- a/llvm/test/DebugInfo/X86/rematerialize.ll
+++ b/llvm/test/DebugInfo/X86/rematerialize.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 ; RUN: llc -O2 -filetype=obj -mtriple=x86_64-unknown-linux-gnu < %s \
 ; RUN: | llvm-dwarfdump -debug-line - | FileCheck %s
 ;

diff  --git a/llvm/test/DebugInfo/X86/string-offsets-multiple-cus.ll b/llvm/test/DebugInfo/X86/string-offsets-multiple-cus.ll
index e1042a95ddee..4e8dfc2ada74 100644
--- a/llvm/test/DebugInfo/X86/string-offsets-multiple-cus.ll
+++ b/llvm/test/DebugInfo/X86/string-offsets-multiple-cus.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 ; RUN: llc -mtriple=x86_64-unknown-linux-gnu -filetype=obj < %s | llvm-dwarfdump -v - | \
 ; RUN:    FileCheck --check-prefix=DEFAULT --check-prefix=BOTH %s
 ; RUN: llc -mtriple=x86_64-unknown-linux-gnu -filetype=obj -generate-type-units < %s |  \

diff  --git a/llvm/test/DebugInfo/X86/string-offsets-table-order.ll b/llvm/test/DebugInfo/X86/string-offsets-table-order.ll
index ffa8550be540..ca159eea615f 100644
--- a/llvm/test/DebugInfo/X86/string-offsets-table-order.ll
+++ b/llvm/test/DebugInfo/X86/string-offsets-table-order.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 ; RUN: llc -mtriple=x86_64-unknown-linux-gnu -split-dwarf-file=foo.dwo -filetype=obj < %s \
 ; RUN:   | llvm-dwarfdump -v - | FileCheck %s
 

diff  --git a/llvm/test/DebugInfo/X86/string-offsets-table.ll b/llvm/test/DebugInfo/X86/string-offsets-table.ll
index 21016bd286b6..e1c914a1946b 100644
--- a/llvm/test/DebugInfo/X86/string-offsets-table.ll
+++ b/llvm/test/DebugInfo/X86/string-offsets-table.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 ; RUN: llc -mtriple=x86_64-unknown-linux-gnu -filetype=obj < %s | llvm-dwarfdump -v - \
 ; RUN:   | FileCheck --check-prefix=MONOLITHIC %s
 ; RUN: llc -mtriple=x86_64-unknown-linux-gnu -split-dwarf-file=foo.dwo -filetype=obj < %s \

diff  --git a/llvm/test/DebugInfo/X86/template.ll b/llvm/test/DebugInfo/X86/template.ll
index 769e2541cd5f..72566154d225 100644
--- a/llvm/test/DebugInfo/X86/template.ll
+++ b/llvm/test/DebugInfo/X86/template.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 
 ; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
 ; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj < %s | not llvm-dwarfdump -verify - | FileCheck %s --check-prefix VERIFY

diff  --git a/llvm/test/DebugInfo/X86/tu-to-non-named-type.ll b/llvm/test/DebugInfo/X86/tu-to-non-named-type.ll
index 19d9976449bc..883bab142ec7 100644
--- a/llvm/test/DebugInfo/X86/tu-to-non-named-type.ll
+++ b/llvm/test/DebugInfo/X86/tu-to-non-named-type.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 
 ; RUN: llc -filetype=obj -O0 -generate-type-units -mtriple=x86_64-unknown-linux-gnu < %s \
 ; RUN:     | llvm-dwarfdump -debug-info -debug-types - | FileCheck %s

diff  --git a/llvm/test/DebugInfo/X86/type_units_with_addresses.ll b/llvm/test/DebugInfo/X86/type_units_with_addresses.ll
index de563ee2a395..0f33ee2209f6 100644
--- a/llvm/test/DebugInfo/X86/type_units_with_addresses.ll
+++ b/llvm/test/DebugInfo/X86/type_units_with_addresses.ll
@@ -1,4 +1,3 @@
-; REQUIRES: x86
 
 ; RUN: llc -split-dwarf-file=foo.dwo -filetype=obj -O0 -generate-type-units -mtriple=x86_64-unknown-linux-gnu < %s \
 ; RUN:     | llvm-dwarfdump -v - | FileCheck %s

diff  --git a/llvm/test/tools/llvm-objcopy/ELF/Inputs/partitions.elf.test b/llvm/test/tools/llvm-objcopy/ELF/Inputs/partitions.elf.test
index 179673848161..16be495db9d4 100644
--- a/llvm/test/tools/llvm-objcopy/ELF/Inputs/partitions.elf.test
+++ b/llvm/test/tools/llvm-objcopy/ELF/Inputs/partitions.elf.test
@@ -1,6 +1,5 @@
 // partitions.elf was generated by running this test in lld:
 
-// REQUIRES: x86
 // RUN: llvm-mc %s -o %t.o -filetype=obj --triple=x86_64-unknown-linux
 // RUN: ld.lld %t.o -o %t --export-dynamic --gc-sections
 


        


More information about the llvm-commits mailing list