<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm/unittests/ExecutionEngine, branch master</title>
<subtitle>http://llvm.org</subtitle>
<id>https://git.amat.us/llvm/atom/unittests/ExecutionEngine?h=master</id>
<link rel='self' href='https://git.amat.us/llvm/atom/unittests/ExecutionEngine?h=master'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/'/>
<updated>2013-05-10T17:58:41Z</updated>
<entry>
<title>Fix MCJITCAPITest.cpp unit test on Windows.</title>
<updated>2013-05-10T17:58:41Z</updated>
<author>
<name>Andrew Kaylor</name>
<email>andrew.kaylor@intel.com</email>
</author>
<published>2013-05-10T17:58:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=50be71d18262ac9f27daef14b429d8132923f1df'/>
<id>urn:sha1:50be71d18262ac9f27daef14b429d8132923f1df</id>
<content type='text'>
MCJIT on Windows requires an explicit target triple with "-elf" appended to generate objects in ELF format.  The common test framework was setting up this triple, but it wasn't passed to the C API in the test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181614 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Remove exception handling support from the old JIT.</title>
<updated>2013-05-07T20:53:59Z</updated>
<author>
<name>Rafael Espindola</name>
<email>rafael.espindola@gmail.com</email>
</author>
<published>2013-05-07T20:53:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=e4496548155ba6606f107fbdc10ea17e58fd3401'/>
<id>urn:sha1:e4496548155ba6606f107fbdc10ea17e58fd3401</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181354 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[SystemZ] Set up JIT/MCJIT test cases</title>
<updated>2013-05-06T16:21:50Z</updated>
<author>
<name>Ulrich Weigand</name>
<email>ulrich.weigand@de.ibm.com</email>
</author>
<published>2013-05-06T16:21:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=7207285e65730c0ce488ca2ddf86dee27d66e57a'/>
<id>urn:sha1:7207285e65730c0ce488ca2ddf86dee27d66e57a</id>
<content type='text'>
This patch adds the necessary configuration bits and #ifdef's to set up
the JIT/MCJIT test cases for SystemZ.  Like other recent targets, we do
fully support MCJIT, but do not support the old JIT at all.  Set up the
lit config files accordingly, and disable old-JIT unit tests.

Patch by Richard Sandiford.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181207 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Simplify JIT unit test #ifdefs</title>
<updated>2013-05-06T16:10:35Z</updated>
<author>
<name>Ulrich Weigand</name>
<email>ulrich.weigand@de.ibm.com</email>
</author>
<published>2013-05-06T16:10:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=1218bc4fe627ae4d60491ea89124965302815f1f'/>
<id>urn:sha1:1218bc4fe627ae4d60491ea89124965302815f1f</id>
<content type='text'>
Several platforms need to disable all old-JIT unit tests, since they only
support the new MCJIT.  This currently done via #ifdef'ing out those tests
in the ExecutionEngine/JIT/*.cpp files.  As those #ifdef's have grown
historically, we now have a number of repeated directives which -in total-
cover nearly the whole file, but leave a couple of helper functions out.
When building the tests with clang itself, those helper functions now
cause spurious "unused function" warnings.

To fix those warnings, and also to remove the duplicate #ifdef conditions
and make it easier to disable the tests for a new target, this patch
consolidates the #ifdefs into a single one per file, which covers all
the tests including all helper routines.

Tested on PowerPC and SystemZ.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181200 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>This exposes more MCJIT options via the C API:</title>
<updated>2013-05-01T22:58:00Z</updated>
<author>
<name>Filip Pizlo</name>
<email>fpizlo@apple.com</email>
</author>
<published>2013-05-01T22:58:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=0e1327e4aa1426aaa3f99a2cbfcb1f2b575791ad'/>
<id>urn:sha1:0e1327e4aa1426aaa3f99a2cbfcb1f2b575791ad</id>
<content type='text'>
CodeModel: It's now possible to create an MCJIT instance with any CodeModel you like.  Previously it was only possible to 
create an MCJIT that used CodeModel::JITDefault.

EnableFastISel: It's now possible to turn on the fast instruction selector.

The CodeModel option required some trickery.  The problem is that previously, we were ensuring future binary compatibility in 
the MCJITCompilerOptions by mandating that the user bzero's the options struct and passes the sizeof() that he saw; the 
bindings then bzero the remaining bits.  This works great but assumes that the bitwise zero equivalent of any field is a 
sensible default value.

But this is not the case for LLVMCodeModel, or its internal equivalent, llvm::CodeModel::Model.  In both of those, the default 
for a JIT is CodeModel::JITDefault (or LLVMCodeModelJITDefault), which is not bitwise zero.

Hence this change introduces LLVMInitializeMCJITCompilerOptions(), which will initialize the user's options struct with
defaults. The user will use this in the same way that they would have previously used memset() or bzero(). MCJITCAPITest.cpp
illustrates the change, as does the comment in ExecutionEngine.h.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180893 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Wrap some lines to bring MCJITCAPITest into conformance with the 80 column limit.</title>
<updated>2013-05-01T06:46:59Z</updated>
<author>
<name>Filip Pizlo</name>
<email>fpizlo@apple.com</email>
</author>
<published>2013-05-01T06:46:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=a4fa74e38163ec3dc652f31ddac2c08e4a05889c'/>
<id>urn:sha1:a4fa74e38163ec3dc652f31ddac2c08e4a05889c</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180839 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Exposing MCJIT through C API</title>
<updated>2013-04-29T17:49:40Z</updated>
<author>
<name>Andrew Kaylor</name>
<email>andrew.kaylor@intel.com</email>
</author>
<published>2013-04-29T17:49:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=d2755af8bda2e0fd80efb46556485c4cdbe8704a'/>
<id>urn:sha1:d2755af8bda2e0fd80efb46556485c4cdbe8704a</id>
<content type='text'>
Re-submitting with fix for OCaml dependency problems (removing dependency on SectionMemoryManager when it isn't used).

Patch by Fili Pizlo



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180720 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Re-enabling MCJIT object caching with memory leak fixed</title>
<updated>2013-04-25T21:02:36Z</updated>
<author>
<name>Andrew Kaylor</name>
<email>andrew.kaylor@intel.com</email>
</author>
<published>2013-04-25T21:02:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=1c489455ea5fac43a5f20911dfb5486630eb0160'/>
<id>urn:sha1:1c489455ea5fac43a5f20911dfb5486630eb0160</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180575 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Revert "Adding object caching support to MCJIT"</title>
<updated>2013-04-25T03:47:41Z</updated>
<author>
<name>Rafael Espindola</name>
<email>rafael.espindola@gmail.com</email>
</author>
<published>2013-04-25T03:47:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=06fd5bf4ea122960f0435449c2391ea4fe1ea2ca'/>
<id>urn:sha1:06fd5bf4ea122960f0435449c2391ea4fe1ea2ca</id>
<content type='text'>
This reverts commit 07f03923137a91e3cca5d7fc075a22f8c9baf33a.

Looks like it broke the valgrind bot:

http://lab.llvm.org:8011/builders/llvm-x86_64-linux-vg_leak/builds/649

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180249 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Revert "Exposing MCJIT through C API"</title>
<updated>2013-04-25T03:19:12Z</updated>
<author>
<name>Rafael Espindola</name>
<email>rafael.espindola@gmail.com</email>
</author>
<published>2013-04-25T03:19:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=7467e5ed1c04887c8d7bdb760df346f518003f07'/>
<id>urn:sha1:7467e5ed1c04887c8d7bdb760df346f518003f07</id>
<content type='text'>
This reverts commit 8c31b298149ca3c3f2bbd9e8aa9a01c4d91f3d74.

It looks like this commit broke some bots:

http://lab.llvm.org:8011/builders/llvm-ppc64-linux2/builds/5209

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180248 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
</feed>
