Commit graph

485 commits

Author SHA1 Message Date
Siu Kwan Lam
d8ffc18ffc Update changelog. 2013-01-18 12:06:19 -06:00
Ilan Schnell
591d31414f update changelog 0.10.0 2013-01-18 11:47:43 -06:00
Ilan Schnell
50e92b4abe fix known failing tests on MacOSX for now 2013-01-18 11:44:38 -06:00
Siu Kwan Lam
0cb552a1ca Fix TestCPUFeature test; more explicit. 2013-01-18 11:38:04 -06:00
Siu Kwan Lam
6bc5b72c71 Fix: ExecutionEngine should own TargetData instance returned from ee.target_data 2013-01-18 11:38:04 -06:00
Ilan Schnell
ca1a23dff5 skip failing tests on 32-bit Windows 2013-01-18 11:26:37 -06:00
Siu Kwan Lam
206d512c10 Fix LLVMLinkModules for LLVM-3.1 2013-01-17 19:06:06 -06:00
Siu Kwan Lam
7451f6ca4a Add tests for double-precision intrinsics 2013-01-17 17:12:11 -06:00
Siu Kwan Lam
343efc6379 C-wrapper includes file and lineno when unknown exceptino is encountered 2013-01-17 16:44:01 -06:00
Siu Kwan Lam
1daec8ff63 Add simpler intrinsic tests for debug llvm-3.2 on windows 32-bit 2013-01-17 16:43:27 -06:00
Siu Kwan Lam
c7320e84de Add tests for cpu features support 2013-01-17 16:08:47 -06:00
Siu Kwan Lam
d0fd53fda3 Revert "Workaround for LLVM-3.2 invalid reporting of host triple on darwin9.8"
This reverts commit ea315a58cb.
2013-01-17 14:22:27 -06:00
Siu Kwan Lam
ea315a58cb Workaround for LLVM-3.2 invalid reporting of host triple on darwin9.8 2013-01-17 14:13:03 -06:00
Siu Kwan Lam
2d3889111b Cleanup usage of long long; replace with PY_LONG_LONG.
For address, use PyLong_AsVoidPtr.
2013-01-17 13:16:53 -06:00
Ilan Schnell
0f3dfb85d4 simplified avx detection on Linux 2013-01-16 19:56:42 -06:00
Siu Kwan Lam
00b3449443 Try PY_LONG_LONG replacement for unsigned long long 2013-01-16 19:36:26 -06:00
Siu Kwan Lam
5d4759bd55 Workaround for AVX on old kernels. 2013-01-16 18:18:50 -06:00
Siu Kwan Lam
bdac4a809d Add lazy compilation option.
Unify execution engine creation through engine-builder internally.
2013-01-16 17:52:33 -06:00
Siu Kwan Lam
91a10e6a8e Fix TargetMachine ownership in EngineBuilder. 2013-01-14 20:34:29 -06:00
Siu Kwan Lam
8b58488bbd Add GEP inbounds 2013-01-14 10:30:58 -06:00
Mark Florisson
9874d8048d Run 2to3 for python 3 install 2013-01-13 17:00:17 -06:00
Ilan Schnell
995d14e1d0 fix (Windows) issue #42 2013-01-11 11:20:24 -06:00
Siu Kwan Lam
207254fe50 Make note about preverifier bug in LLVM that *.verify() will abort upon error 2013-01-10 17:13:06 -06:00
Siu Kwan Lam
31fbc3ae64 Module.link_in should not delete other.ptr and should prevent the other.ptr from being destroyed 2013-01-10 17:10:40 -06:00
Siu Kwan Lam
a0a777e1aa llvm_cbuilder: global string should use LINKONCE_ODR 2013-01-10 16:58:50 -06:00
Siu Kwan Lam
ee62b0c96c Fix Module.link_in so it reports error and destory the other module when preserve=False 2013-01-10 16:52:25 -06:00
Siu Kwan Lam
f731332360 Builder.branch will check if the basicblock has terminator when running in debug mode. 2013-01-10 16:43:14 -06:00
Siu Kwan Lam
9dadd9f1df Use 'L' format for unsigned long long to be consistent 2013-01-10 09:44:00 -06:00
Ilan Schnell
cc8b16b9ca next version will be 0.10.0 2013-01-08 16:12:26 -06:00
Siu Kwan Lam
64880e7d69 Fix invalid use of long for address. Use unsigned long long for cross-platform 64-bit int. 2013-01-08 16:09:51 -06:00
Jon Riehl
ee2d86e86f Merge pull request #41 from valtron/master
Updated names of passes in Kaleidoscope tutorial
2013-01-08 13:47:17 -08:00
Siu Kwan Lam
371e940c83 Reverse finalizer 2013-01-07 16:39:41 -06:00
Siu Kwan Lam
5fc5ba2e66 Fix free/delete mismatch in LLVMGetNativeCodeFromModule 2013-01-07 16:39:32 -06:00
Siu Kwan Lam
8ca0e79bd0 Fix free/delete mismatch in LLVMGetBitcodeFromModule 2013-01-07 15:14:46 -06:00
Siu Kwan Lam
af6b0d7823 Suppress warning for missing loop-vectorizer feature if user is not enabling it. 2013-01-07 14:00:11 -06:00
valtron
e02cd0a977 Updated names of passes 2013-01-05 02:46:52 -07:00
Siu Kwan Lam
9571aefbe0 Add ExecutionEngine.add_global_mapping 2013-01-04 15:15:41 -06:00
Siu Kwan Lam
457cd24986 Add test for ExecutionEngine.get_pointer_to_global 2013-01-04 14:25:39 -06:00
Siu Kwan Lam
5b6a1d75f8 Fix breakage of LLVM 3.1.
Add LLVM version number in llvmpy.
2013-01-04 14:24:26 -06:00
Bradley M. Froehle
dd32ce56b1 Wrap LLVMGetPointerToGlobal & add ExecutionEngine.get_pointer_to_global. 2013-01-04 10:21:55 -06:00
Siu Kwan Lam
f01da12e16 Add CodeModel 2013-01-03 15:37:11 -06:00
Siu Kwan Lam
bc20661343 Introduce finalizer module to manage finalization of C resources. 2013-01-03 14:44:32 -06:00
Siu Kwan Lam
e8c7fcfd32 Add optional TargetMachine param to EngineBuilder.create. 2013-01-03 11:47:24 -06:00
Siu Kwan Lam
a6ed8d55f8 Add clone method to TargetData. 2013-01-03 10:17:23 -06:00
Siu Kwan Lam
3fbce4c0f9 Fix exception syntax for Py3 2013-01-03 09:56:42 -06:00
Siu Kwan Lam
e2ec14bbb9 Add test to verify new pass APIs and loop-vectorizer. 2013-01-02 17:42:28 -06:00
Siu Kwan Lam
7f9c91e2aa Add simpler API for building pass-managers given a TargetMachine. 2013-01-02 17:42:28 -06:00
Siu Kwan Lam
3b399f9d8b Adding target specific passes. 2013-01-02 17:42:28 -06:00
Siu Kwan Lam
bcc467b2b5 Add auto detect PTX/NVPTX support and disable them in the C-extension. 2013-01-02 17:42:28 -06:00
Siu Kwan Lam
ff92a05858 Begin to expose Pass class. 2013-01-02 17:42:28 -06:00