Skip to content

Commit 724eea7

Browse files
authored
[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".
1 parent 149d795 commit 724eea7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/test/ExecutionEngine/RuntimeDyld/X86/coff-alignment.ll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
; XFAIL: target=aarch64-pc-windows-{{.*}}
2-
; REQUIRES: system-windows
1+
; REQUIRES: system-windows, target=x86_64-{{.*}}-windows-{{.*}}
32
; RUN: opt -mtriple=x86_64-pc-win32-coff %s -o - | lli
43

54
@o = common global i32 0, align 4

0 commit comments

Comments
 (0)