[LLVMdev] How to XFAIL JIT tests for AArch64
Tim Northover
t.p.northover at gmail.com
Thu Feb 14 08:55:09 PST 2013
Hi,
Currently, no tests that use lli without "-force-interpreter" are
expected to pass when executing on an AArch64 model. However, they
will pass if built and run on (say) X86, just setting the default
target triple.
So XFAIL gets unexpected passes on a compiler merely targetting
AArch64 and leaving the tests as they are gives unexpected failures
when they're run on a model.
Does anyone know of a good solution to this? I believe only four tests
are affected (test/ExecutionEngine/* has a more global solution and
isn't a problem):
LLVM :: Analysis/Profiling/load-branch-weights-ifs.ll
LLVM :: Analysis/Profiling/load-branch-weights-loops.ll
LLVM :: Analysis/Profiling/load-branch-weights-switches.ll
LLVM :: Transforms/LICM/2003-12-11-SinkingToPHI.ll
Would changing the tests to force the interpreter on lli invocations
break what the profile tests are trying to do? Would it be an
acceptable change if not?
Cheers.
Tim.
More information about the llvm-dev
mailing list