Evgeny Mankov
860e89df5e
[HIPIFY][fix] Abandon canCompileHostAndDeviceInOneJob check for --cuda-compile-host-device option
...
[Reason] It turned out that it is not so: 2 jobs are always
[ROCm/hip commit: c2c144ac04 ]
2019-11-07 11:30:40 +03:00
Evgeny Mankov
282c76c26f
[HIPIFY][Win][fix] canCompileHostAndDeviceInOneJob is true only for LLVM >= 10
...
[ROCm/hip commit: 9ca4e96641 ]
2019-11-06 19:25:42 +03:00
Evgeny Mankov
1b6e4b495a
[HIPIFY][format] Apply clang style formatting in LLVMCompat
...
[ROCm/hip commit: 3b76fd0b1c ]
2019-11-06 14:43:22 +03:00
Evgeny Mankov
1776ff55d3
[HIPIFY] Add a compatibility for CharSourceRange if LLVM < 7
...
[ROCm/hip commit: c87ab05fc6 ]
2019-11-06 14:30:39 +03:00
Evgeny Mankov
bce3beed0c
[HIPIFY][Linux] Rollback --cuda-compile-host-device on Linux
...
[Reason] It doesn't work with LLVM 9 and higher; Windows is fine
[ROCm/hip commit: 85087644da ]
2019-10-29 20:53:54 +03:00
Evgeny Mankov
0fd46e00cb
[HIPIFY] Introduce --cuda-compile-host-device for LLVM >= 9
...
* LLVM < 9 continues using --cuda-host-only
[ROCm/hip commit: 3f2eefa82a ]
2019-10-29 19:42:53 +03:00
Evgeny Mankov
e78eb9bb47
[HIPIFY][ #207 ][fix] Translate all preprocessor's conditional blocks
...
+ Start to translate preprocessor's false conditional blocks too:
based on clang's https://reviews.llvm.org/D66597 ;
available only starting from LLVM 10.0 or trunk.
+ Option -skip-excluded-preprocessor-conditional-blocks for skipping excluded conditional blocks:
the default behavior for hipify-clang built with LLVM < 10.0;
false by default for hipify-clang built with LLVM 10 or trunk.
+ Add 4 preprocessor unit tests, 2 of which are LLVM 10.0 only
+ Update couple of existing tests by setting -skip-excluded-preprocessor-conditional-blocks option:
update lit testing accordingly
[ROCm/hip commit: 24be21495d ]
2019-08-28 21:17:35 +03:00
Evgeny Mankov
c3d7fd8d6c
[HIPIFY][LLVMCompat] Support of upcoming LLVM 9.0.0
...
[ROCm/hip commit: e1f6538daa ]
2019-05-24 15:14:14 +03:00
Evgeny Mankov
d51679ed8e
[HIPIFY][fix][ #204 ] Suppress warning message: #pragma once in main file
...
[ROCm/hip commit: 6d3c443234 ]
2019-04-24 20:35:52 +03:00
emankov
57b553324b
[HIPIFY][fix][ #851 ] make_absolute only in case of relative path
...
Otherwise return the input path.
[ROCm/hip commit: bff9e1ebe2 ]
2019-01-06 17:58:37 +03:00
emankov
279550644e
[HIPIFY] LLVM compatibility
...
+ sys::fs::make_absolute fro LLVM < 5.0
+ sys::fs::real_path for LLVM >= 5.0
[ROCm/hip commit: 208d7cfaf1 ]
2018-12-28 01:34:35 +03:00
emankov
13126143ed
[HIPIFY] Add the legal right comment to all the sources
...
[ROCm/hip commit: fcaf954998 ]
2018-12-20 18:47:57 +03:00
Evgeny Mankov
517ba1c4c1
[HIPIFY][LLVMCompat] support of upcoming LLVM 8.0
...
+ StringRef issue, which is finally moved to LLVM from Clang
+ Renamed getBeginLoc() and getEndLoc() resolution for Expr and TypeLoc classes
+ Support all the previous LLVM versions via LLVCompat
[ROCm/hip commit: aad5858cb1 ]
2018-11-16 01:23:25 +03:00
Evgeny Mankov
5b192ed119
[HIPIFY] Code cleanup and formatting
...
[ROCm/hip commit: ee3a5cc722 ]
2018-10-15 15:27:37 +03:00
Evgeny Mankov
540fc92b1c
[HIPIFY] undo apply .clangformat to HIPIFY source files
...
[ROCm/hip commit: 8499e79e2b ]
2018-04-23 20:22:15 +03:00
Maneesh Gupta
4f42ee762d
Apply .clangformat to all repo source files
...
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
[ROCm/hip commit: 1ba06f63c4 ]
2018-03-12 11:29:03 +05:30
Evgeny Mankov
fd09c0eea8
[HIPIFY][ #308 ][fix] Consume error returned by Replacements::add(...)
...
[ROCm/hip commit: 3f6de8bb10 ]
2018-01-09 20:03:53 +03:00
Evgeny Mankov
27c5e94c81
[HIPIFY] fix typo - missing )
...
[ROCm/hip commit: 44c74b6511 ]
2017-10-27 23:31:43 +03:00
Chris Kitching
85fd2e6f51
Extract LLVM compatibility code into its own translation unit
...
[ROCm/hip commit: 1bd837b4b1 ]
2017-10-27 20:12:32 +01:00