[HIPIFY] Add DEBUG(X) macro compatibility
In LLVM 7.0 DEBUG(X) was deleted, LLVM_DEBUG(X) should be used instead.
[ROCm/hip commit: 9fcb48e5c4]
이 커밋은 다음에 포함됨:
1 부모
0d92d4d9e3
커밋
2c8fbf1a67
2 파일이 변경됨
+5
-1
검색과 일치하는 파일 없음
@@ -132,7 +132,7 @@ int main(int argc, const char **argv) {
|
||||
|
||||
// Hipify _all_ the things!
|
||||
if (Tool.runAndSave(&actionFactory)) {
|
||||
DEBUG(llvm::dbgs() << "Skipped some replacements.\n");
|
||||
LLVM_DEBUG(llvm::dbgs() << "Skipped some replacements.\n");
|
||||
}
|
||||
|
||||
// Either move the tmpfile to the output, or remove it.
|
||||
|
||||
새 이슈에서 참조
사용자 차단