Matt Arsenault
7ef7e6aacd
Strip opencl.ocl.version metadata
...
This should be uniqued when linking, but right now it creates
a lot of metadata spam listing the same version. This should also
probably be reporting the compiled version of the user program,
which may differ from the library. Currently the library IR files report
1.0 while 1.1/1.2 are the default for user programs.
llvm-svn: 279692
2016-08-25 00:25:10 +00:00
Tom Stellard
6cb18a09b1
prepare-builtins: Remove call to getGlobalContext()
...
This function has been removed from LLVM.
Patch By: Laurent Carlier
llvm-svn: 266430
2016-04-15 14:18:58 +00:00
Jeroen Ketema
d915739b38
Require LLVM >=3.7 and bump version to 0.2.0
...
v2: Also remove LLVM 3.6 traces from prepare-builtins.cpp
Patch by: EdB
llvm-svn: 244310
2015-08-07 08:31:37 +00:00
Tom Stellard
0e4152e391
prepare-builtins: Fix build with LLVM 3.6
...
Patch by: Tomasz Borowik
llvm-svn: 241905
2015-07-10 13:37:04 +00:00
Jeroen Ketema
2697d2a43b
Properly initialize Module pointer
...
llvm-svn: 240881
2015-06-27 12:35:54 +00:00
Tom Stellard
4957e4057d
prepare-builtins: Fix build with LLVM 3.7
...
llvm-svn: 240552
2015-06-24 17:03:50 +00:00
Tom Stellard
1d77071e0d
Require LLVM 3.6 and bump version to 0.1.0
...
Some functions are implemented using hand-written LLVM IR, and
LLVM assembly format is allowed to change between versions, so we
should require a specific version of LLVM.
llvm-svn: 225041
2014-12-31 15:27:53 +00:00
Michel Danzer
7b77ab7b2c
Fix build against LLVM SVN >= r216488
...
Tested-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 216654
2014-08-28 06:19:37 +00:00
Michel Danzer
a10b492ce3
Fix build against LLVM SVN >= r216393
...
Tested-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 216653
2014-08-28 06:19:33 +00:00
Niels Ole Salscheider
109ce69e75
Include llvm-config.h instead of config.h
...
Signed-off-by: Niels Ole Salscheider <niels_ole@salscheider-online.de>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 216296
2014-08-22 22:24:28 +00:00
Tom Stellard
8d92c396d9
prepare-builtins: Fix broken build due to recent LLVM API change
...
llvm-svn: 212470
2014-07-07 17:46:45 +00:00
Jeroen Ketema
d253e66ec7
Fix breakage after r211259
...
While we are here introduce the proper headers for the error code.
Reviewed-by: Tom Stellard <tom@stellard.net>
llvm-svn: 211432
2014-06-21 09:20:31 +00:00
Tom Stellard
0ab103422d
prepare-builtins: Use std:: prefix for error_code
...
This fixes the build with with newer LLVM.
llvm-svn: 210867
2014-06-13 01:30:14 +00:00
Jeroen Ketema
a3089bd7e5
Remove unused include which breaks build after r210803
...
Tested with llvm 3.4 and trunk.
llvm-svn: 210825
2014-06-12 21:10:17 +00:00
Jeroen Ketema
f3943efe17
Fix build broken by LLVM commit r209103
...
Reviewed-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 210111
2014-06-03 15:43:57 +00:00
Tom Stellard
98dccb109b
Fix build broken by LLVM commit r207593
...
llvm-svn: 207685
2014-04-30 18:35:20 +00:00
Tom Stellard
7aee1cfa99
Fix build since r202052
...
sys::fs_F_Binary has been replaced with sys::fs_F_Text
llvm-svn: 202081
2014-02-24 21:31:56 +00:00
Tom Stellard
8a63b15b3c
Fix build broken by LLVM commit r199279
...
Patch by: Udo van den Heuvel
Tom Stellard:
- Added ifdef and error handling
llvm-svn: 199687
2014-01-20 20:28:48 +00:00
Aaron Watry
0da3d3b5ba
Fix build with LLVM 3.4
...
F_Binary and friends were moved to include/Support/FileSystem.h
v2: Maintain compatibility with LLVM 3.3
Signed-off-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 186610
2013-07-18 21:24:35 +00:00
Tom Stellard
976577ecae
Fix build with LLVM 3.3
...
Patch by: Niels Ole Salscheider
llvm-svn: 184989
2013-06-26 18:20:32 +00:00
Peter Collingbourne
d5395fbf03
Initial commit.
...
llvm-svn: 147756
2012-01-08 22:09:58 +00:00