152 Commits

Author SHA1 Message Date
Dmitry Babokin
455a29c491 Renaming AttributeSet to AttributeList to follow trunk changes. 2017-03-28 16:58:49 -07:00
Dmitry Babokin
0ff8ae4596 Better fix cbackend. 2017-03-22 13:27:26 -07:00
Dmitry Babokin
f9947541a1 Whitespace fixes 2017-03-22 12:32:26 -07:00
Dmitry Babokin
c2b2b38081 Fix for trunk. Probably it's temporary if they fix -- operator for arg_iterator in trunk. 2017-03-22 12:31:41 -07: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
Andrey Shishpanov
8acfd92f92 Trunk fix for Rev.283004 2016-10-05 14:17:14 +03:00
Andrey Shishpanov
f0cd6d6902 Fix for Revision 269218 2016-05-12 16:24:14 +03:00
Pascal Wittmann
13b748a57c Fix build with gcc5 2016-03-24 18:06:22 +01:00
Andrey Shishpanov
b4aa685d52 Fix for Revision 261498 2016-02-23 17:35:26 +03:00
Anton Mitrokhin
12ac782b13 fix fabs intrinsic in generic target (fail after LLVM r249702) 2015-11-30 16:43:45 +03:00
Anton Mitrokhin
9a477ee926 Fix bug in cbackend 2015-11-23 16:52:07 +03:00
Anton Mitrokhin
e2efcb50f3 Fix ISPC build fail after LLVM commit 252380 2015-11-10 14:44:17 +03:00
Anton Mitrokhin
68e686df9f Removed dirty workaround that fixed 'soa-18.ispc' test. It broke badly in a different scenario 2015-09-30 17:20:38 +03:00
Anton Mitrokhin
f187671a89 fix ordered/unordered fcmp error in cbackend.cpp 2015-07-13 18:23:36 +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
Vsevolod Livinskiy
d6380ca8a1 Prohibit short vectors in knl-generic multitarget 2015-05-21 16:11:45 +03:00
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