[llvm] 724eea7 - [llvm][test] Change an XFAIL into a more correct REQUIRES (#137942)
via llvm-commits
llvm-commits at lists.llvm.org
Thu May 1 05:27:32 PDT 2025
Author: Martin Storsjö
Date: 2025-05-01T15:27:29+03:00
New Revision: 724eea76544cd3fe4bc739886f3dd2bb92ee169d
URL: https://github.com/llvm/llvm-project/commit/724eea76544cd3fe4bc739886f3dd2bb92ee169d
DIFF: https://github.com/llvm/llvm-project/commit/724eea76544cd3fe4bc739886f3dd2bb92ee169d.diff
LOG: [llvm][test] Change an XFAIL into a more correct REQUIRES (#137942)
As this test is about executing x86_64 code with "lli", we should only
try to do it if we actually execute on an x86_64 target. So instead of
XFAILing individual architectures that can't execute it, instead change
this into requiring an x86_64 target.
Also generalize the target triple form used; don't assume that the
vendor field is set to "pc" - many mingw toolchains use the vendor field
set to "w64".
Added:
Modified:
llvm/test/ExecutionEngine/RuntimeDyld/X86/coff-alignment.ll
Removed:
################################################################################
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/X86/coff-alignment.ll b/llvm/test/ExecutionEngine/RuntimeDyld/X86/coff-alignment.ll
index 6063544ec03f6..9a822fc7ed556 100644
--- a/llvm/test/ExecutionEngine/RuntimeDyld/X86/coff-alignment.ll
+++ b/llvm/test/ExecutionEngine/RuntimeDyld/X86/coff-alignment.ll
@@ -1,5 +1,4 @@
-; XFAIL: target=aarch64-pc-windows-{{.*}}
-; REQUIRES: system-windows
+; REQUIRES: system-windows, target=x86_64-{{.*}}-windows-{{.*}}
; RUN: opt -mtriple=x86_64-pc-win32-coff %s -o - | lli
@o = common global i32 0, align 4
More information about the llvm-commits
mailing list