Commit Graph

135 Commits

Author SHA1 Message Date
Dmitry Babokin
256e8325e3 Generic target: declare in anonymous namespace only l_array_* 2015-05-08 01:10:46 +03:00
Anton Mitrokhin
e0e579bd99 put struct/class definitions into anonymous namespaces (MIC, generic) 2015-05-06 13:59:23 +03:00
Andrey Guskov
43f432c67a Fixed llvm.dbg.value mishandling in CWriter 2015-04-28 20:55:33 +03:00
Vsevolod Livinskiy
55cfc6f78e Fix for trunk revision #232397 2015-03-20 08:55:49 +03:00
Andrey Guskov
dba22837f6 Substituted LLVM-specific IsNAN() and IsInf() with their math.h versions 2015-03-11 18:33:49 +03:00
Dmitry Babokin
e8ae16a7f3 Merge pull request #979 from Vsevolod-Livinskij/knc_header_long_int
Knc header long int
2015-03-06 19:10:35 +03:00
Anton Mitrokhin
bead780f22 fixed soa-18 test 2015-03-06 12:32:58 +03:00
Anton Mitrokhin
3a18a28001 fixed funcptr-varying-6/7/8 tests on knc 2015-03-05 13:19:10 +03:00
Vsevolod Livinskiy
19d18b6e4e Some changes was made to support older llvm versions. 2015-02-27 16:02:55 +03:00
Vsevolod Livinskiy
4c629d0a7c Small codestyle changes 2015-02-27 12:35:31 +03:00
Vsevolod Livinskiy
3718abc3d2 iN class was moved to cbackend 2015-02-27 12:30:04 +03:00
Vsevolod Livinskiy
a98bfdf011 Some changes to hadle different vector width 2015-02-27 10:34:45 +03:00
Vsevolod Livinskiy
0644b4a7fd iN calss was changed 2015-02-27 10:33:26 +03:00
Vsevolod Livinskiy
a3bf0b2406 Constructor from string and operator& 2015-02-27 10:33:26 +03:00
Vsevolod Livinskiy
5302cfe062 New align structure 2015-02-27 10:33:26 +03:00
Vsevolod Livinskiy
8090285d42 Fix for cast 2015-02-27 10:33:25 +03:00
Vsevolod Livinskiy
1abce94803 cast inst 2015-02-27 10:33:25 +03:00
Vsevolod Livinskiy
e3a78ad150 Tmp commit to save progress 2015-02-27 10:31:33 +03:00
Vsevolod Livinskiy
f17deafc0a Some little bug was fixed 2015-02-20 17:46:06 +03:00
Vsevolod Livinskiy
8c4d339f25 Some codestyle changes 2015-02-20 16:50:53 +03:00
Vsevolod Livinskiy
7b0eb0e4ad Smear optimization was changed 2015-02-20 16:36:50 +03:00
Dmitry Babokin
127a5c50b8 Merge pull request #964 from ncos/cbackend-opbc
fix for broken i32/64 to vec1_i32/64 bitcast
2015-02-19 13:21:18 +03:00
Anton Mitrokhin
4dff88d4c5 fix buildfail after LLVM trunk commit 229094 2015-02-19 13:01:50 +03:00
Anton Mitrokhin
0bb27d839a i32/64 to <1xi32/64> bitcast 2015-02-13 15:47:41 +03:00
Vsevolod Livinskiy
1916153509 Code generator was changed for support of llvm.umul.with.overflow 2015-02-13 12:56:13 +03:00
Dmitry Babokin
08b4e03f62 Merge pull request #962 from ncos/cbackend-cmpxchg
Fix llvm->c++ translation of cmxchg instruction
2015-02-12 19:10:04 +03:00
Anton Mitrokhin
8cf7445b93 add ifdefs for pre-3.5 LLVM versions (where cmpxchg had different defenition) 2015-02-12 17:59:44 +03:00
Vsevolod Livinskiy
f84f359d8b Codegenerator fix for compability with generic 2015-02-12 16:00:22 +03:00
Anton Mitrokhin
280675eb80 add comments regarding constant 'true' field 2015-02-12 15:10:38 +03:00
Anton Mitrokhin
8eeeebf091 fixed cmpexchg bug by passing in const bool field 2015-02-12 13:44:45 +03:00
Vsevolod Livinskiy
7816fae331 Fix for __vec16_i64 element extracting 2015-01-30 18:23:35 +03:00
Andrey Guskov
ae8b724d92 Added LLVM 3.7 support 2015-01-19 17:30:59 +03:00
Dmitry Babokin
3b1eaa65e4 Fixing cbackend after LLVM changes which split Value and Metadata
classes.
2014-12-29 20:44:54 +03:00
Vsevolod Livinskiy
8672aff298 New approach to fix 2014-12-25 14:31:46 +03:00
Vsevolod Livinskiy
24e8c33506 Fix for trunk after rev 223802 2014-12-11 17:53:51 +03:00
Dmitry Babokin
0bb5404e6b Build fix for LLVM trunk - changed include structure 2014-11-26 14:21:50 +03:00
Dmitry Babokin
22dcc9a651 Tracking LLVM trunk: SmallPtrSet changes 2014-11-21 16:37:47 +03:00
Anton Mitrokhin
5cb50eca30 LLVM trunk build fail fix (MDNode interface change) 2014-11-13 12:02:58 +03:00
Vsevolod Livinskiy
9e184e65cf Fix for rev.221167 2014-11-06 16:52:47 +03:00
Vsevolod Livinskiy
12d0cb2037 Fix for llvm revision 216393 2014-08-26 14:20:12 +04:00
Anton Mitrokhin
3dafbc4516 remover LLVM 3_1 from cbackend.cpp 2014-08-01 17:30:30 +04:00
Anton Mitrokhin
ee256cd3c6 Merge branch 'master' of https://github.com/ncos/ispc into remove-support-for-old-llvm 2014-08-01 17:28:14 +04:00
Anton Mitrokhin
d0c9b7c9b5 wiped out all LLVM 3.1 support 2014-08-01 14:54:08 +04:00
Anton Mitrokhin
10c6f840c4 removed 'llvm/Config/config.h' from cbackend.cpp build for LLVM 3.5+ 2014-08-01 12:30:57 +04:00
Anton Mitrokhin
725be222ac added LLVM_3_6 var 2014-07-30 11:50:15 +04:00
Ilia Filippov
4ed72335bd support LLVM 2014-06-09 16:53:26 +04:00
Ilia Filippov
5f55a9b9e2 support of LLVM trunk 2014-05-22 18:50:57 +04:00
Dmitry Babokin
096546f888 Fixing MIC performance issue, which showed up when we switched to
LLVM 3.4 (due to more aggressive optimizations): vector of *the same*
constants should be generated as scalar value in cpp file, instead of
__extract_element(splat(value), 0).
I.e. <2,2,2,2> should appear in cpp as 2, but not
__extract_element(splat(2), 0);
2014-04-17 21:03:42 +04:00
Ilia Filippov
114f58bb0b support LLVM trunk after r204934 and zlib commits 2014-04-01 18:51:05 +04:00
Ilia Filippov
ead5cc741d support LLVM trunk after 203559 203213 and 203381 revisions 2014-03-12 12:58:50 +04:00