[llvm] Add target-byteorder for cases where endian in target triple is what matters (PR #107915)
Sean Perry via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 10 13:34:29 PDT 2024
https://github.com/perry-ca updated https://github.com/llvm/llvm-project/pull/107915
>From 53e069a8579028993b266621cfaf1605b81bbdd3 Mon Sep 17 00:00:00 2001
From: Sean Perry <perry at ca.ibm.com>
Date: Mon, 9 Sep 2024 16:11:07 -0500
Subject: [PATCH 1/7] It is really the byte order of the target that matters
---
llvm/test/CodeGen/Generic/allow-check.ll | 2 +-
llvm/test/Object/AArch64/chained-fixups-header.test | 2 +-
llvm/test/Object/AArch64/filetype-fileset.yaml | 2 +-
llvm/test/lit.cfg.py | 5 ++++-
llvm/test/tools/dsymutil/X86/reflection-dump.test | 2 +-
llvm/test/tools/sancov/covered_functions.test | 2 +-
llvm/test/tools/sancov/ignorelist.test | 2 +-
llvm/test/tools/sancov/not_covered_functions.test | 2 +-
llvm/test/tools/sancov/print.test | 2 +-
llvm/test/tools/sancov/stats.test | 2 +-
llvm/test/tools/sancov/symbolize.test | 2 +-
llvm/test/tools/sancov/symbolize_noskip_dead_files.test | 2 +-
12 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/llvm/test/CodeGen/Generic/allow-check.ll b/llvm/test/CodeGen/Generic/allow-check.ll
index a08488959862ab..148ee811ea806c 100644
--- a/llvm/test/CodeGen/Generic/allow-check.ll
+++ b/llvm/test/CodeGen/Generic/allow-check.ll
@@ -1,5 +1,5 @@
; Avoid `!DL->isLittleEndian() && !CLI->enableBigEndian()` missmatch on PPC64BE.
-; REQUIRES: host-byteorder-little-endian
+; REQUIRES: target-byteorder-little-endian
; -global-isel=1 is unsupported.
; XFAIL: target=loongarch{{.*}}
diff --git a/llvm/test/Object/AArch64/chained-fixups-header.test b/llvm/test/Object/AArch64/chained-fixups-header.test
index 5bdf07a56d3609..409c1222ffa39f 100644
--- a/llvm/test/Object/AArch64/chained-fixups-header.test
+++ b/llvm/test/Object/AArch64/chained-fixups-header.test
@@ -1,4 +1,4 @@
-REQUIRES: host-byteorder-little-endian
+REQUIRES: target-byteorder-little-endian
RUN: cat %p/../Inputs/MachO/chained-fixups.yaml \
RUN: | sed 's/__LINKEDIT: 00000000/__LINKEDIT: AB000000/' \
RUN: | yaml2obj | not llvm-objdump --macho --dyld-info - 2>&1 \
diff --git a/llvm/test/Object/AArch64/filetype-fileset.yaml b/llvm/test/Object/AArch64/filetype-fileset.yaml
index 0f9631ff076b2f..73bb2e01db43fb 100644
--- a/llvm/test/Object/AArch64/filetype-fileset.yaml
+++ b/llvm/test/Object/AArch64/filetype-fileset.yaml
@@ -1,4 +1,4 @@
-# REQUIRES: host-byteorder-little-endian
+# REQUIRES: target-byteorder-little-endian
# RUN: yaml2obj %s \
# RUN: | llvm-objdump --macho --private-header - 2>&1 \
# RUN: | FileCheck %s
diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index 1e0dd0a7df34f1..cff6dc962e98be 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -363,7 +363,10 @@ def version_int(ver):
):
config.available_features.add("llvm-64-bits")
-config.available_features.add("host-byteorder-" + sys.byteorder + "-endian")
+if re.match(r"(aarch64_be|arc|armeb|bpfeb|lanai|m68k|mips|mips64|powerpc|powerpc64|sparc|sparcv9|s390x|s390|tce|thumbeb)-.*", config.target_triple):
+ config.available_features.add("target-byteorder-big-endian")
+else:
+ config.available_features.add("target-byteorder-little-endian")
if sys.platform in ["win32"]:
# ExecutionEngine, no weak symbols in COFF.
diff --git a/llvm/test/tools/dsymutil/X86/reflection-dump.test b/llvm/test/tools/dsymutil/X86/reflection-dump.test
index 9cf9874f4acddd..dc58d399596145 100644
--- a/llvm/test/tools/dsymutil/X86/reflection-dump.test
+++ b/llvm/test/tools/dsymutil/X86/reflection-dump.test
@@ -12,7 +12,7 @@ RUN: llvm-objdump -s %t.dir/main.dSYM/Contents/Resources/DWARF/main | FileCheck
RUN: dsymutil --linker parallel -oso-prepend-path=%t.dir %t.dir/main -o %t.dir/main.dSYM
RUN: llvm-objdump -s %t.dir/main.dSYM/Contents/Resources/DWARF/main | FileCheck %s
-REQUIRES: host-byteorder-little-endian
+REQUIRES: target-byteorder-little-endian
CHECK: Contents of section __DWARF,__swift5_assocty:
diff --git a/llvm/test/tools/sancov/covered_functions.test b/llvm/test/tools/sancov/covered_functions.test
index bcdfaf8879d41a..bca37bb7bdf878 100644
--- a/llvm/test/tools/sancov/covered_functions.test
+++ b/llvm/test/tools/sancov/covered_functions.test
@@ -1,4 +1,4 @@
-REQUIRES: x86-registered-target && host-byteorder-little-endian
+REQUIRES: x86-registered-target && target-byteorder-little-endian
RUN: sancov -covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
RUN: sancov -covered-functions -strip_path_prefix=Inputs/ %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck --check-prefix=STRIP_PATH %s
RUN: sancov -demangle=0 -covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck --check-prefix=NO_DEMANGLE %s
diff --git a/llvm/test/tools/sancov/ignorelist.test b/llvm/test/tools/sancov/ignorelist.test
index 01d03aed05b237..0456b9b0dc1ded 100644
--- a/llvm/test/tools/sancov/ignorelist.test
+++ b/llvm/test/tools/sancov/ignorelist.test
@@ -1,4 +1,4 @@
-REQUIRES: x86-registered-target && host-byteorder-little-endian
+REQUIRES: x86-registered-target && target-byteorder-little-endian
RUN: sancov -covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s --check-prefix=ALL
RUN: sancov -covered-functions -ignorelist %p/Inputs/fun_ignorelist.txt %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
RUN: sancov -covered-functions -ignorelist %p/Inputs/src_ignorelist.txt %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.1.sancov | FileCheck --check-prefix=CHECK1 %s
diff --git a/llvm/test/tools/sancov/not_covered_functions.test b/llvm/test/tools/sancov/not_covered_functions.test
index d1b91f6e56820a..54541bbcb124bb 100644
--- a/llvm/test/tools/sancov/not_covered_functions.test
+++ b/llvm/test/tools/sancov/not_covered_functions.test
@@ -1,4 +1,4 @@
-REQUIRES: x86-registered-target && host-byteorder-little-endian
+REQUIRES: x86-registered-target && target-byteorder-little-endian
RUN: sancov -skip-dead-files=0 -not-covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
RUN: sancov -not-covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.1.sancov | FileCheck --check-prefix=CHECK1 --allow-empty %s
diff --git a/llvm/test/tools/sancov/print.test b/llvm/test/tools/sancov/print.test
index 62ab3d991b8e3c..26bbf47f4d987e 100644
--- a/llvm/test/tools/sancov/print.test
+++ b/llvm/test/tools/sancov/print.test
@@ -1,4 +1,4 @@
-REQUIRES: x86-registered-target && host-byteorder-little-endian
+REQUIRES: x86-registered-target && target-byteorder-little-endian
RUN: sancov -print %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
CHECK: 0x4e132b
diff --git a/llvm/test/tools/sancov/stats.test b/llvm/test/tools/sancov/stats.test
index 46ff6e5e5db10e..1777a6d04fed74 100644
--- a/llvm/test/tools/sancov/stats.test
+++ b/llvm/test/tools/sancov/stats.test
@@ -1,4 +1,4 @@
-REQUIRES: x86-registered-target && host-byteorder-little-endian
+REQUIRES: x86-registered-target && target-byteorder-little-endian
RUN: sancov -print-coverage-stats %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
CHECK: all-edges: 8
diff --git a/llvm/test/tools/sancov/symbolize.test b/llvm/test/tools/sancov/symbolize.test
index acf58ae1171238..4ffafb7448815f 100644
--- a/llvm/test/tools/sancov/symbolize.test
+++ b/llvm/test/tools/sancov/symbolize.test
@@ -1,4 +1,4 @@
-REQUIRES: x86-registered-target && host-byteorder-little-endian
+REQUIRES: x86-registered-target && target-byteorder-little-endian
RUN: sancov -symbolize -strip_path_prefix="llvm/" %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s --check-prefixes=CHECK,STRIP
RUN: sancov -symbolize %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s --check-prefixes=CHECK,NOSTRIP
diff --git a/llvm/test/tools/sancov/symbolize_noskip_dead_files.test b/llvm/test/tools/sancov/symbolize_noskip_dead_files.test
index 0038ea197735aa..e366bdcb2ef75f 100644
--- a/llvm/test/tools/sancov/symbolize_noskip_dead_files.test
+++ b/llvm/test/tools/sancov/symbolize_noskip_dead_files.test
@@ -1,4 +1,4 @@
-REQUIRES: x86-registered-target && host-byteorder-little-endian
+REQUIRES: x86-registered-target && target-byteorder-little-endian
RUN: sancov -symbolize -skip-dead-files=0 -strip_path_prefix="llvm/" %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
CHECK: {
>From 04b2929b0e4c77b649e95e0202f31699171d3404 Mon Sep 17 00:00:00 2001
From: Sean Perry <perry at ca.ibm.com>
Date: Mon, 9 Sep 2024 16:22:32 -0500
Subject: [PATCH 2/7] fix fomrating
---
llvm/test/lit.cfg.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index cff6dc962e98be..e9b4d3c5aee3f9 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -363,7 +363,10 @@ def version_int(ver):
):
config.available_features.add("llvm-64-bits")
-if re.match(r"(aarch64_be|arc|armeb|bpfeb|lanai|m68k|mips|mips64|powerpc|powerpc64|sparc|sparcv9|s390x|s390|tce|thumbeb)-.*", config.target_triple):
+if re.match(
+ r"(aarch64_be|arc|armeb|bpfeb|lanai|m68k|mips|mips64|powerpc|powerpc64|sparc|sparcv9|s390x|s390|tce|thumbeb)-.*",
+ config.target_triple
+):
config.available_features.add("target-byteorder-big-endian")
else:
config.available_features.add("target-byteorder-little-endian")
>From 07f5c632e968b9e9d0aeaea6ec92cec7cd9110ca Mon Sep 17 00:00:00 2001
From: Sean Perry <perry at ca.ibm.com>
Date: Tue, 10 Sep 2024 10:41:23 -0500
Subject: [PATCH 3/7] more formatting
---
llvm/test/lit.cfg.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index e9b4d3c5aee3f9..6407f85f88d132 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -365,7 +365,7 @@ def version_int(ver):
if re.match(
r"(aarch64_be|arc|armeb|bpfeb|lanai|m68k|mips|mips64|powerpc|powerpc64|sparc|sparcv9|s390x|s390|tce|thumbeb)-.*",
- config.target_triple
+ config.target_triple,
):
config.available_features.add("target-byteorder-big-endian")
else:
>From db171744906e20bc4aefab578b0810b814d66fc5 Mon Sep 17 00:00:00 2001
From: Sean Perry <perry at ca.ibm.com>
Date: Tue, 10 Sep 2024 12:19:42 -0500
Subject: [PATCH 4/7] trailing space
---
llvm/test/lit.cfg.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index 6407f85f88d132..bb7216c3eacc8a 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -364,7 +364,7 @@ def version_int(ver):
config.available_features.add("llvm-64-bits")
if re.match(
- r"(aarch64_be|arc|armeb|bpfeb|lanai|m68k|mips|mips64|powerpc|powerpc64|sparc|sparcv9|s390x|s390|tce|thumbeb)-.*",
+ r"(aarch64_be|arc|armeb|bpfeb|lanai|m68k|mips|mips64|powerpc|powerpc64|sparc|sparcv9|s390x|s390|tce|thumbeb)-.*",
config.target_triple,
):
config.available_features.add("target-byteorder-big-endian")
>From babeaf02148b788ba4f0da0f78675e459f355887 Mon Sep 17 00:00:00 2001
From: Sean Perry <perry at ca.ibm.com>
Date: Tue, 10 Sep 2024 13:18:20 -0500
Subject: [PATCH 5/7] keep host-byteorder
---
.../Object/AArch64/chained-fixups-header.test | 2 +-
.../test/Object/AArch64/filetype-fileset.yaml | 2 +-
llvm/test/lit.cfg.py | 1 +
llvm/test/tools/sancov/covered_functions.test | 2 +-
llvm/test/tools/sancov/ignorelist.test | 2 +-
.../tools/sancov/not_covered_functions.test | 2 +-
llvm/test/tools/sancov/print.test | 2 +-
llvm/test/tools/sancov/stats.test | 2 +-
llvm/test/tools/sancov/symbolize.test | 2 +-
.../sancov/symbolize_noskip_dead_files.test | 2 +-
llvm/test/x86-64.fail | 89 +++++++++++++++++++
11 files changed, 99 insertions(+), 9 deletions(-)
create mode 100644 llvm/test/x86-64.fail
diff --git a/llvm/test/Object/AArch64/chained-fixups-header.test b/llvm/test/Object/AArch64/chained-fixups-header.test
index 409c1222ffa39f..5bdf07a56d3609 100644
--- a/llvm/test/Object/AArch64/chained-fixups-header.test
+++ b/llvm/test/Object/AArch64/chained-fixups-header.test
@@ -1,4 +1,4 @@
-REQUIRES: target-byteorder-little-endian
+REQUIRES: host-byteorder-little-endian
RUN: cat %p/../Inputs/MachO/chained-fixups.yaml \
RUN: | sed 's/__LINKEDIT: 00000000/__LINKEDIT: AB000000/' \
RUN: | yaml2obj | not llvm-objdump --macho --dyld-info - 2>&1 \
diff --git a/llvm/test/Object/AArch64/filetype-fileset.yaml b/llvm/test/Object/AArch64/filetype-fileset.yaml
index 73bb2e01db43fb..0f9631ff076b2f 100644
--- a/llvm/test/Object/AArch64/filetype-fileset.yaml
+++ b/llvm/test/Object/AArch64/filetype-fileset.yaml
@@ -1,4 +1,4 @@
-# REQUIRES: target-byteorder-little-endian
+# REQUIRES: host-byteorder-little-endian
# RUN: yaml2obj %s \
# RUN: | llvm-objdump --macho --private-header - 2>&1 \
# RUN: | FileCheck %s
diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index bb7216c3eacc8a..bbec0d0849cb42 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -363,6 +363,7 @@ def version_int(ver):
):
config.available_features.add("llvm-64-bits")
+config.available_features.add("host-byteorder-" + sys.byteorder + "-endian")
if re.match(
r"(aarch64_be|arc|armeb|bpfeb|lanai|m68k|mips|mips64|powerpc|powerpc64|sparc|sparcv9|s390x|s390|tce|thumbeb)-.*",
config.target_triple,
diff --git a/llvm/test/tools/sancov/covered_functions.test b/llvm/test/tools/sancov/covered_functions.test
index bca37bb7bdf878..bcdfaf8879d41a 100644
--- a/llvm/test/tools/sancov/covered_functions.test
+++ b/llvm/test/tools/sancov/covered_functions.test
@@ -1,4 +1,4 @@
-REQUIRES: x86-registered-target && target-byteorder-little-endian
+REQUIRES: x86-registered-target && host-byteorder-little-endian
RUN: sancov -covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
RUN: sancov -covered-functions -strip_path_prefix=Inputs/ %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck --check-prefix=STRIP_PATH %s
RUN: sancov -demangle=0 -covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck --check-prefix=NO_DEMANGLE %s
diff --git a/llvm/test/tools/sancov/ignorelist.test b/llvm/test/tools/sancov/ignorelist.test
index 0456b9b0dc1ded..01d03aed05b237 100644
--- a/llvm/test/tools/sancov/ignorelist.test
+++ b/llvm/test/tools/sancov/ignorelist.test
@@ -1,4 +1,4 @@
-REQUIRES: x86-registered-target && target-byteorder-little-endian
+REQUIRES: x86-registered-target && host-byteorder-little-endian
RUN: sancov -covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s --check-prefix=ALL
RUN: sancov -covered-functions -ignorelist %p/Inputs/fun_ignorelist.txt %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
RUN: sancov -covered-functions -ignorelist %p/Inputs/src_ignorelist.txt %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.1.sancov | FileCheck --check-prefix=CHECK1 %s
diff --git a/llvm/test/tools/sancov/not_covered_functions.test b/llvm/test/tools/sancov/not_covered_functions.test
index 54541bbcb124bb..d1b91f6e56820a 100644
--- a/llvm/test/tools/sancov/not_covered_functions.test
+++ b/llvm/test/tools/sancov/not_covered_functions.test
@@ -1,4 +1,4 @@
-REQUIRES: x86-registered-target && target-byteorder-little-endian
+REQUIRES: x86-registered-target && host-byteorder-little-endian
RUN: sancov -skip-dead-files=0 -not-covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
RUN: sancov -not-covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.1.sancov | FileCheck --check-prefix=CHECK1 --allow-empty %s
diff --git a/llvm/test/tools/sancov/print.test b/llvm/test/tools/sancov/print.test
index 26bbf47f4d987e..62ab3d991b8e3c 100644
--- a/llvm/test/tools/sancov/print.test
+++ b/llvm/test/tools/sancov/print.test
@@ -1,4 +1,4 @@
-REQUIRES: x86-registered-target && target-byteorder-little-endian
+REQUIRES: x86-registered-target && host-byteorder-little-endian
RUN: sancov -print %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
CHECK: 0x4e132b
diff --git a/llvm/test/tools/sancov/stats.test b/llvm/test/tools/sancov/stats.test
index 1777a6d04fed74..46ff6e5e5db10e 100644
--- a/llvm/test/tools/sancov/stats.test
+++ b/llvm/test/tools/sancov/stats.test
@@ -1,4 +1,4 @@
-REQUIRES: x86-registered-target && target-byteorder-little-endian
+REQUIRES: x86-registered-target && host-byteorder-little-endian
RUN: sancov -print-coverage-stats %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
CHECK: all-edges: 8
diff --git a/llvm/test/tools/sancov/symbolize.test b/llvm/test/tools/sancov/symbolize.test
index 4ffafb7448815f..acf58ae1171238 100644
--- a/llvm/test/tools/sancov/symbolize.test
+++ b/llvm/test/tools/sancov/symbolize.test
@@ -1,4 +1,4 @@
-REQUIRES: x86-registered-target && target-byteorder-little-endian
+REQUIRES: x86-registered-target && host-byteorder-little-endian
RUN: sancov -symbolize -strip_path_prefix="llvm/" %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s --check-prefixes=CHECK,STRIP
RUN: sancov -symbolize %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s --check-prefixes=CHECK,NOSTRIP
diff --git a/llvm/test/tools/sancov/symbolize_noskip_dead_files.test b/llvm/test/tools/sancov/symbolize_noskip_dead_files.test
index e366bdcb2ef75f..0038ea197735aa 100644
--- a/llvm/test/tools/sancov/symbolize_noskip_dead_files.test
+++ b/llvm/test/tools/sancov/symbolize_noskip_dead_files.test
@@ -1,4 +1,4 @@
-REQUIRES: x86-registered-target && target-byteorder-little-endian
+REQUIRES: x86-registered-target && host-byteorder-little-endian
RUN: sancov -symbolize -skip-dead-files=0 -strip_path_prefix="llvm/" %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
CHECK: {
diff --git a/llvm/test/x86-64.fail b/llvm/test/x86-64.fail
new file mode 100644
index 00000000000000..107d839ef5b0b8
--- /dev/null
+++ b/llvm/test/x86-64.fail
@@ -0,0 +1,89 @@
+ LLVM :: Analysis/CtxProfAnalysis/flatten-always-removes-instrumentation.ll
+ LLVM :: Analysis/CtxProfAnalysis/flatten-and-annotate.ll
+ LLVM :: Analysis/CtxProfAnalysis/full-cycle.ll
+ LLVM :: Analysis/CtxProfAnalysis/load.ll
+ LLVM :: CodeGen/AArch64/neon-famin-famax.ll
+ LLVM :: CodeGen/AArch64/zext-shuffle.ll
+ LLVM :: CodeGen/AMDGPU/llvm.amdgcn.image.atomic.dim.ll
+ LLVM :: CodeGen/AMDGPU/llvm.amdgcn.s.buffer.prefetch.data.ll
+ LLVM :: CodeGen/AMDGPU/memory-legalizer-fence-mmra-global.ll
+ LLVM :: CodeGen/AMDGPU/memory-legalizer-fence.ll
+ LLVM :: CodeGen/AMDGPU/memory-legalizer-flat-agent.ll
+ LLVM :: CodeGen/AMDGPU/memory-legalizer-flat-system.ll
+ LLVM :: CodeGen/AMDGPU/memory-legalizer-flat-volatile.ll
+ LLVM :: CodeGen/AMDGPU/memory-legalizer-flat-workgroup.ll
+ LLVM :: CodeGen/AMDGPU/memory-legalizer-global-agent.ll
+ LLVM :: CodeGen/AMDGPU/memory-legalizer-global-system.ll
+ LLVM :: CodeGen/AMDGPU/memory-legalizer-global-volatile.ll
+ LLVM :: CodeGen/AMDGPU/memory-legalizer-global-workgroup.ll
+ LLVM :: CodeGen/ARM/GlobalISel/arm-unsupported.ll
+ LLVM :: CodeGen/ARM/big-endian-neon-fp16-bitconv.ll
+ LLVM :: CodeGen/ARM/big-endian-vmov.ll
+ LLVM :: CodeGen/ARM/vmov.ll
+ LLVM :: CodeGen/PowerPC/aix-xcoff-exception-section-debug.ll
+ LLVM :: CodeGen/RISCV/GlobalISel/irtranslator/vec-args-bf16-err.ll
+ LLVM :: CodeGen/RISCV/GlobalISel/irtranslator/vec-args-f16-err.ll
+ LLVM :: CodeGen/RISCV/calls.ll
+ LLVM :: CodeGen/RISCV/codemodel-lowering.ll
+ LLVM :: CodeGen/RISCV/double-arith.ll
+ LLVM :: CodeGen/RISCV/double-bitmanip-dagcombines.ll
+ LLVM :: CodeGen/RISCV/double-imm.ll
+ LLVM :: CodeGen/RISCV/double-intrinsics.ll
+ LLVM :: CodeGen/RISCV/fastcc-bf16.ll
+ LLVM :: CodeGen/RISCV/fastcc-without-f-reg.ll
+ LLVM :: CodeGen/RISCV/float-arith.ll
+ LLVM :: CodeGen/RISCV/float-bitmanip-dagcombines.ll
+ LLVM :: CodeGen/RISCV/float-intrinsics.ll
+ LLVM :: CodeGen/RISCV/float-round-conv-sat.ll
+ LLVM :: CodeGen/RISCV/fold-addi-loadstore.ll
+ LLVM :: CodeGen/RISCV/half-convert.ll
+ LLVM :: CodeGen/RISCV/half-round-conv-sat.ll
+ LLVM :: CodeGen/RISCV/half-zfa.ll
+ LLVM :: CodeGen/RISCV/inline-asm-mem-constraint.ll
+ LLVM :: CodeGen/RISCV/rvv/calling-conv-fastcc.ll
+ LLVM :: CodeGen/RISCV/rvv/fixed-vectors-strided-load-store-asm.ll
+ LLVM :: CodeGen/RISCV/rvv/remat.ll
+ LLVM :: CodeGen/RISCV/rvv/rvv-peephole-vmerge-to-vmv.mir
+ LLVM :: CodeGen/RISCV/rvv/vselect-fp.ll
+ LLVM :: CodeGen/Thumb2/mve-be.ll
+ LLVM :: CodeGen/Thumb2/mve-masked-ldst.ll
+ LLVM :: CodeGen/Thumb2/mve-pred-bitcast.ll
+ LLVM :: CodeGen/Thumb2/mve-pred-loadstore.ll
+ LLVM :: CodeGen/Thumb2/mve-pred-spill.ll
+ LLVM :: CodeGen/Thumb2/mve-vmovimm.ll
+ LLVM :: CodeGen/X86/abds-neg.ll
+ LLVM :: CodeGen/X86/abds.ll
+ LLVM :: CodeGen/X86/abdu-neg.ll
+ LLVM :: CodeGen/X86/abdu.ll
+ LLVM :: CodeGen/X86/avx512-calling-conv.ll
+ LLVM :: CodeGen/X86/avx512-extract-subvector-load-store.ll
+ LLVM :: CodeGen/X86/avx512-insert-extract.ll
+ LLVM :: CodeGen/X86/cmov-promotion.ll
+ LLVM :: CodeGen/X86/pr43507.ll
+ LLVM :: CodeGen/X86/pseudo_cmov_lower2.ll
+ LLVM :: CodeGen/X86/pull-conditional-binop-through-shift.ll
+ LLVM :: CodeGen/X86/select.ll
+ LLVM :: CodeGen/X86/select_const.ll
+ LLVM :: CodeGen/X86/setcc-lowering.ll
+ LLVM :: CodeGen/X86/vector-reduce-fmax-nnan.ll
+ LLVM :: CodeGen/X86/vector-reduce-fmin-nnan.ll
+ LLVM :: DebugInfo/X86/empty-line-info.ll
+ LLVM :: Other/new-pm-defaults.ll
+ LLVM :: Other/new-pm-thinlto-postlink-defaults.ll
+ LLVM :: Other/new-pm-thinlto-postlink-pgo-defaults.ll
+ LLVM :: Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
+ LLVM :: Transforms/Coroutines/coro-split-00.ll
+ LLVM :: Transforms/Coroutines/coro-transform-must-elide.ll
+ LLVM :: Transforms/InstCombine/AArch64/sve-intrinsic-comb-no-active-lanes-to-zero.ll
+ LLVM :: tools/llvm-ml/rip_relative_addressing.asm
+ LLVM :: tools/llvm-split/AMDGPU/address-taken-externalize-with-call.ll
+ LLVM :: tools/llvm-split/AMDGPU/address-taken-externalize.ll
+ LLVM :: tools/llvm-split/AMDGPU/declarations.ll
+ LLVM :: tools/llvm-split/AMDGPU/kernels-alias-dependencies.ll
+ LLVM :: tools/llvm-split/AMDGPU/kernels-dependency-external.ll
+ LLVM :: tools/llvm-split/AMDGPU/kernels-dependency-indirect.ll
+ LLVM :: tools/llvm-split/AMDGPU/kernels-dependency-overridable.ll
+ LLVM :: tools/llvm-split/AMDGPU/large-kernels-merging.ll
+ LLVM :: tools/llvm-split/AMDGPU/non-kernels-dependency-indirect.ll
+ LLVM :: tools/llvm-split/AMDGPU/recursive-search-2.ll
+ LLVM :: tools/llvm-split/AMDGPU/recursive-search-8.ll
>From c90169537d4cda2156f9b138fff3a957b61440cc Mon Sep 17 00:00:00 2001
From: Sean Perry <perry at ca.ibm.com>
Date: Tue, 10 Sep 2024 13:19:15 -0500
Subject: [PATCH 6/7] added temp file
---
llvm/test/x86-64.fail | 89 -------------------------------------------
1 file changed, 89 deletions(-)
delete mode 100644 llvm/test/x86-64.fail
diff --git a/llvm/test/x86-64.fail b/llvm/test/x86-64.fail
deleted file mode 100644
index 107d839ef5b0b8..00000000000000
--- a/llvm/test/x86-64.fail
+++ /dev/null
@@ -1,89 +0,0 @@
- LLVM :: Analysis/CtxProfAnalysis/flatten-always-removes-instrumentation.ll
- LLVM :: Analysis/CtxProfAnalysis/flatten-and-annotate.ll
- LLVM :: Analysis/CtxProfAnalysis/full-cycle.ll
- LLVM :: Analysis/CtxProfAnalysis/load.ll
- LLVM :: CodeGen/AArch64/neon-famin-famax.ll
- LLVM :: CodeGen/AArch64/zext-shuffle.ll
- LLVM :: CodeGen/AMDGPU/llvm.amdgcn.image.atomic.dim.ll
- LLVM :: CodeGen/AMDGPU/llvm.amdgcn.s.buffer.prefetch.data.ll
- LLVM :: CodeGen/AMDGPU/memory-legalizer-fence-mmra-global.ll
- LLVM :: CodeGen/AMDGPU/memory-legalizer-fence.ll
- LLVM :: CodeGen/AMDGPU/memory-legalizer-flat-agent.ll
- LLVM :: CodeGen/AMDGPU/memory-legalizer-flat-system.ll
- LLVM :: CodeGen/AMDGPU/memory-legalizer-flat-volatile.ll
- LLVM :: CodeGen/AMDGPU/memory-legalizer-flat-workgroup.ll
- LLVM :: CodeGen/AMDGPU/memory-legalizer-global-agent.ll
- LLVM :: CodeGen/AMDGPU/memory-legalizer-global-system.ll
- LLVM :: CodeGen/AMDGPU/memory-legalizer-global-volatile.ll
- LLVM :: CodeGen/AMDGPU/memory-legalizer-global-workgroup.ll
- LLVM :: CodeGen/ARM/GlobalISel/arm-unsupported.ll
- LLVM :: CodeGen/ARM/big-endian-neon-fp16-bitconv.ll
- LLVM :: CodeGen/ARM/big-endian-vmov.ll
- LLVM :: CodeGen/ARM/vmov.ll
- LLVM :: CodeGen/PowerPC/aix-xcoff-exception-section-debug.ll
- LLVM :: CodeGen/RISCV/GlobalISel/irtranslator/vec-args-bf16-err.ll
- LLVM :: CodeGen/RISCV/GlobalISel/irtranslator/vec-args-f16-err.ll
- LLVM :: CodeGen/RISCV/calls.ll
- LLVM :: CodeGen/RISCV/codemodel-lowering.ll
- LLVM :: CodeGen/RISCV/double-arith.ll
- LLVM :: CodeGen/RISCV/double-bitmanip-dagcombines.ll
- LLVM :: CodeGen/RISCV/double-imm.ll
- LLVM :: CodeGen/RISCV/double-intrinsics.ll
- LLVM :: CodeGen/RISCV/fastcc-bf16.ll
- LLVM :: CodeGen/RISCV/fastcc-without-f-reg.ll
- LLVM :: CodeGen/RISCV/float-arith.ll
- LLVM :: CodeGen/RISCV/float-bitmanip-dagcombines.ll
- LLVM :: CodeGen/RISCV/float-intrinsics.ll
- LLVM :: CodeGen/RISCV/float-round-conv-sat.ll
- LLVM :: CodeGen/RISCV/fold-addi-loadstore.ll
- LLVM :: CodeGen/RISCV/half-convert.ll
- LLVM :: CodeGen/RISCV/half-round-conv-sat.ll
- LLVM :: CodeGen/RISCV/half-zfa.ll
- LLVM :: CodeGen/RISCV/inline-asm-mem-constraint.ll
- LLVM :: CodeGen/RISCV/rvv/calling-conv-fastcc.ll
- LLVM :: CodeGen/RISCV/rvv/fixed-vectors-strided-load-store-asm.ll
- LLVM :: CodeGen/RISCV/rvv/remat.ll
- LLVM :: CodeGen/RISCV/rvv/rvv-peephole-vmerge-to-vmv.mir
- LLVM :: CodeGen/RISCV/rvv/vselect-fp.ll
- LLVM :: CodeGen/Thumb2/mve-be.ll
- LLVM :: CodeGen/Thumb2/mve-masked-ldst.ll
- LLVM :: CodeGen/Thumb2/mve-pred-bitcast.ll
- LLVM :: CodeGen/Thumb2/mve-pred-loadstore.ll
- LLVM :: CodeGen/Thumb2/mve-pred-spill.ll
- LLVM :: CodeGen/Thumb2/mve-vmovimm.ll
- LLVM :: CodeGen/X86/abds-neg.ll
- LLVM :: CodeGen/X86/abds.ll
- LLVM :: CodeGen/X86/abdu-neg.ll
- LLVM :: CodeGen/X86/abdu.ll
- LLVM :: CodeGen/X86/avx512-calling-conv.ll
- LLVM :: CodeGen/X86/avx512-extract-subvector-load-store.ll
- LLVM :: CodeGen/X86/avx512-insert-extract.ll
- LLVM :: CodeGen/X86/cmov-promotion.ll
- LLVM :: CodeGen/X86/pr43507.ll
- LLVM :: CodeGen/X86/pseudo_cmov_lower2.ll
- LLVM :: CodeGen/X86/pull-conditional-binop-through-shift.ll
- LLVM :: CodeGen/X86/select.ll
- LLVM :: CodeGen/X86/select_const.ll
- LLVM :: CodeGen/X86/setcc-lowering.ll
- LLVM :: CodeGen/X86/vector-reduce-fmax-nnan.ll
- LLVM :: CodeGen/X86/vector-reduce-fmin-nnan.ll
- LLVM :: DebugInfo/X86/empty-line-info.ll
- LLVM :: Other/new-pm-defaults.ll
- LLVM :: Other/new-pm-thinlto-postlink-defaults.ll
- LLVM :: Other/new-pm-thinlto-postlink-pgo-defaults.ll
- LLVM :: Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
- LLVM :: Transforms/Coroutines/coro-split-00.ll
- LLVM :: Transforms/Coroutines/coro-transform-must-elide.ll
- LLVM :: Transforms/InstCombine/AArch64/sve-intrinsic-comb-no-active-lanes-to-zero.ll
- LLVM :: tools/llvm-ml/rip_relative_addressing.asm
- LLVM :: tools/llvm-split/AMDGPU/address-taken-externalize-with-call.ll
- LLVM :: tools/llvm-split/AMDGPU/address-taken-externalize.ll
- LLVM :: tools/llvm-split/AMDGPU/declarations.ll
- LLVM :: tools/llvm-split/AMDGPU/kernels-alias-dependencies.ll
- LLVM :: tools/llvm-split/AMDGPU/kernels-dependency-external.ll
- LLVM :: tools/llvm-split/AMDGPU/kernels-dependency-indirect.ll
- LLVM :: tools/llvm-split/AMDGPU/kernels-dependency-overridable.ll
- LLVM :: tools/llvm-split/AMDGPU/large-kernels-merging.ll
- LLVM :: tools/llvm-split/AMDGPU/non-kernels-dependency-indirect.ll
- LLVM :: tools/llvm-split/AMDGPU/recursive-search-2.ll
- LLVM :: tools/llvm-split/AMDGPU/recursive-search-8.ll
>From ec691fe88b43a3b56616c9757df37a2b879cc2f2 Mon Sep 17 00:00:00 2001
From: Sean Perry <perry at ca.ibm.com>
Date: Tue, 10 Sep 2024 13:21:31 -0500
Subject: [PATCH 7/7] use host-byteorder here too
---
llvm/test/tools/dsymutil/X86/reflection-dump.test | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/test/tools/dsymutil/X86/reflection-dump.test b/llvm/test/tools/dsymutil/X86/reflection-dump.test
index dc58d399596145..9cf9874f4acddd 100644
--- a/llvm/test/tools/dsymutil/X86/reflection-dump.test
+++ b/llvm/test/tools/dsymutil/X86/reflection-dump.test
@@ -12,7 +12,7 @@ RUN: llvm-objdump -s %t.dir/main.dSYM/Contents/Resources/DWARF/main | FileCheck
RUN: dsymutil --linker parallel -oso-prepend-path=%t.dir %t.dir/main -o %t.dir/main.dSYM
RUN: llvm-objdump -s %t.dir/main.dSYM/Contents/Resources/DWARF/main | FileCheck %s
-REQUIRES: target-byteorder-little-endian
+REQUIRES: host-byteorder-little-endian
CHECK: Contents of section __DWARF,__swift5_assocty:
More information about the llvm-commits
mailing list