Commit Graph

302 Commits

Author SHA1 Message Date
64e1e2b008 Generate overloaded function definitions 2017-05-10 14:21:09 -04:00
192b99f21d Translates polymorphic function to a single instance 2017-05-09 23:41:36 -04:00
7bb1741b9a [WIP] implement ReplacePolyType for stmts 2017-05-09 15:30:39 -04:00
Dmitry Babokin
6d649e1dff Enabling LLVM 5.0 and making fixes to track changes in LLVM for the past
couple months.
The changes are tested with LLVM 3.9, 4.0 and trunk on MacOS (sse4,
avx2, skx).
2017-03-01 11:10:34 -08:00
Lukas Böhm
32626ea9e3 Support llvm 4.0: Bitcode/ReaderWriter.h -> BitCode/BitcodeWriter.h 2016-11-14 21:38:25 +01:00
Andrey Shishpanov
8b525bb8bc Trunk fix for Rev.281284-281285. 2016-09-26 20:24:36 +03:00
Dmitry Babokin
45b306480e -Adding support for LLVM 4.0
-Switching 3.9 support to branch/release_39
-Switching 3.8 support to tags/release_381
2016-07-20 22:16:50 +03:00
Dmitry Babokin
d8b353ac98 Adding --dwarf-version=X option to control emitted DWARF version. 2016-07-04 16:13:06 +03:00
Andrey Shishpanov
27d183d42f Fix for LLVM 3.9 trunk, lStripUnusedDebugInfo() made empty. 2016-05-13 16:02:43 +03:00
Will Usher
c8b45093f0 Fix C compatibility of ISPCInstrument declaration 2016-04-19 18:16:04 -06:00
Andrey Shishpanov
1324e6cdd5 added SKX target definition 2016-02-25 00:43:58 +03:00
Dmitry Babokin
f6dbffd58c Updating copyright dates for recently modified files 2016-02-04 15:14:19 +03:00
Vsevolod Livinskiy
cf3cf01a6c Add error check during multi-target compilation. 2016-02-01 16:45:33 +03:00
Vsevolod Livinskiy
e4a672483f Add --no-omit-frame-pointer option 2016-01-22 16:32:29 +03:00
Anton Mitrokhin
e2efcb50f3 Fix ISPC build fail after LLVM commit 252380 2015-11-10 14:44:17 +03:00
Dmitry Babokin
f0a0e2d75d Set target tripple and data layout for dispatch module. 2015-10-20 18:59:09 +03:00
Dmitry Babokin
cb416611ce Merge pull request #1063 from ncos/ispc-classof
Removing RTTI from ispc - it causes problem when linking with clang libraries, which are no-rtti.
2015-07-10 13:55:11 +03:00
Anton Mitrokhin
8217448ee5 Id's for Stmt-inherited classes 2015-07-09 14:45:33 +03:00
Anton Mitrokhin
26a93bc733 Id's fo Expr-inherited classes 2015-07-09 12:38:58 +03:00
Vsevolod Livinskiy
b805609986 Fix for assembler file generation. 2015-07-08 14:56:18 +03:00
Anton Mitrokhin
ebc47d00a1 remove several redundant #if - clauses 2015-06-17 17:40:02 +03:00
Anton Mitrokhin
0afa3f5713 New LLVM version macro 2015-06-17 10:14:28 +03:00
Dmitry Babokin
0ed674296f Moving --dllexport to proper help section under Windows ifdef 2015-05-29 18:14:38 +03:00
Dmitry Babokin
891c1cf1f4 Fix for the bug, which crashed ispc during file write (showed up on
MacOS and Windows with LLVM trunk).
2015-05-26 15:24:18 +03:00
Dmitry Babokin
c251194b15 Merge pull request #1039 from aguskov/master
Fix for use-after-free bug during dispatch module generation (shows up with 3.7).
2015-05-21 23:30:35 +03:00
Andrey Guskov
50d84e0884 Re-added name/type checking for globals 2015-05-21 19:59:48 +03:00
Dmitry Babokin
a70dcb13d1 Merge pull request #1042 from ncos/sg_native_knl
'Native' KNL support (AVX512 target)
2015-05-21 15:44:06 +03:00
Anton Mitrokhin
e0eac74f83 [AVX512]: separated knl from avx2 2015-05-21 14:50:29 +03:00
Vsevolod Livinskiy
c9424a9989 Fix for debug information in trunk 2015-05-21 14:42:53 +03:00
Vsevolod Livinskiy
bd65df8ad4 Debug flag for target's info was added 2015-05-21 11:33:05 +03:00
Andrey Guskov
e39bb485ea Fixed global variable handling 2015-05-19 22:16:47 +03:00
Anton Mitrokhin
8891534a3c Forbid using --cpu in multitarget mode 2015-05-10 17:27:25 +03:00
Andrey Guskov
2a2bfc49f1 Removed unused variable causing fatal warn on GCC build 2015-04-29 19:24:45 +03:00
Andrey Guskov
66ad192266 Typo fix in CXX output 2015-04-29 15:25:31 +03:00
Dmitry Babokin
0a8fab0737 Merge pull request #1024 from Vsevolod-Livinskij/multitarget
Support of *-generic-16 target
2015-04-24 18:16:45 +03:00
Vsevolod Livinskiy
c2039da7b8 Support of *-generic-16 target 2015-04-24 15:56:06 +03:00
Andrey Guskov
5defbf25f1 LLVM debug info fix, again 2015-04-23 19:00:54 +03:00
Dmitry Babokin
a0cbd7e33a Merge pull request #1022 from aguskov/master
Another version of multitarget return types fix
2015-04-22 18:14:39 +03:00
Andrey Guskov
0fd170f47a Another version of multitarget return types fix 2015-04-22 18:09:31 +03:00
Dmitry Babokin
0f1358b69f Revert "Multitaget function return types fixed" 2015-04-22 17:38:05 +03:00
Dmitry Babokin
8e47273186 Copyright refresh 2015-04-22 16:39:11 +03:00
Andrey Guskov
7f096f23e3 Multitaget function return types fixed 2015-04-22 15:13:56 +03:00
Andrey Guskov
189e892b96 Recurring LLVM debug info fix 2015-04-16 19:31:16 +03:00
Anton Mitrokhin
b5293067fc add x86_64 to be alias of x86-64 2015-04-16 14:42:34 +03:00
Andrey Guskov
824e47ece7 Fix for LLVM trunk 2015-04-15 16:31:23 +03:00
Vsevolod Livinskiy
ac4d0bf7ed Fix for debug information in trunk. 2015-04-10 15:15:16 +03:00
Andrey Guskov
dd567654e7 Fixed ISPC debug info generator, added debug tests 2015-03-27 14:52:18 +03:00
Anton Mitrokhin
50f716f3d8 fix for mishandled __ISPC_NO_EXTERN_C var being defined as zero 2015-03-25 16:57:30 +03:00
jbrodman
637a4cc812 Fix to support function pointers in header file generation. 2015-03-20 14:49:03 -07:00
Andrey Guskov
75ec582a1d Lowering the severity level for Debug Info Version mismatch 2015-03-12 14:49:32 +03:00