[llvm-commits] [PATCH] Set %defaultjit testsuite flag for PowerPC

Ulrich Weigand Ulrich.Weigand at de.ibm.com
Tue Oct 30 10:26:31 PDT 2012


Hello,

David Tweed recently provided a patch to allow using MCJit instead of the
old JIT for those tests outside of the ExecutionEngine test suite that use
execution testing.  This is enabled by default for ARM targets.

Since we are in the same situation on PowerPC (the MCJit works quite well
now that Adhemerval's patches are in, but the old JIT seems rather broken),
I'd like to enable this on PowerPC as well.   The attached patch sets
%defaultjit to use the MCJit on PowerPC targets, and also adds use of
%defaultjit to one test case where it is currently missing.

This fixes the following set of testsuite failures on PowerPC:
    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

OK to commit?

Bye,
Ulrich

(See attached file: diff-llvm-defaultjit-ppc)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff-llvm-defaultjit-ppc
Type: application/octet-stream
Size: 893 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121030/4ccd38ca/attachment.obj>


More information about the llvm-commits mailing list