[llvm-commits] [PATCH] review for fix of profiling test failures on ARM

David Tweed david.tweed at arm.com
Wed Sep 12 09:24:00 PDT 2012


Hi,

on the Linux on ARM there are three test failures in profiling
(Analysis/Profiling/load-branch-weights-ifs.ll,
Analysis/Profiling/load-branch-weights-loops.ll,
Analysis/Profiling/load-branch-weights-switches.ll). Looking at what's
happening it's actually from failure to run some JITted code, which is
happening because it's attempting to use the default "old" JIT. Using the
MCJIT the JITing then works and the test passes. I gather pretty much every
platform MCJIT is at least as good as the old JIT, so the attached patch
makes these tests explicitly use MCJIT. The tests have been checked that
they pass on both x86-64 Linux and ARM Linux, and the important tests (that
profiling is doing the right things, rather than jit-ing) are now being run
on ARM.

Could this patch be reviewed with a view to being committed please?

Regards,
David Tweed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: profilingTestFixes.diff
Type: application/octet-stream
Size: 1909 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120912/17251b06/attachment.obj>


More information about the llvm-commits mailing list