[HIPIFY] Add DEBUG(X) macro compatibility

In LLVM 7.0 DEBUG(X) was deleted, LLVM_DEBUG(X) should be used instead.
This commit is contained in:
Evgeny Mankov committed 2018-07-11 18:21:00 +03:00
1 vanhempi 56984d04b0
commit 22dffde22e
2 files changed
+5 -1

No files matched your search

+1 -1
Näytä tiedosto
@@ -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.