Skip to content

Commit 6d85926

Browse files
committed
[lit] Define keyword used by MCJIT test
test/ExecutionEngine/MCJIT/2005-12-02-TailCallBug.ll has 'XFAIL: mcjit-ia32' but that feature isn't defined anywhere, so the XFAIL can't have any effect. This has not been a problem because apparently there are no 32-bit x86 bots out there. I found this as part of other work to clean up lit keywords, so I figured I would go ahead and fix it. Verified by hacking my lit.site.cfg.py so host_triple = target_triple = "i686-pc-windows-msvc" and the test correctly reported XFAIL.
1 parent 50fe87a commit 6d85926

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/test/lit.cfg.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ def get_asan_rtlib():
100100
# difficult to obtain on Windows.
101101
if re.search(r'cygwin|windows-gnu|windows-msvc', config.host_triple):
102102
lli_args = ['-mtriple=' + config.host_triple + '-elf']
103+
if re.search(r'^i.86', config.host_triple):
104+
config.available_features.add('mcjit-ia32')
103105

104106
llc_args = []
105107

0 commit comments

Comments
 (0)