[PATCH] D145391: [HIP] Supports env var HIP_PATH

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 6 11:59:12 PST 2023


tra added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/AMDGPU.cpp:442
+               llvm::sys::Process::GetEnv("HIP_PATH")) {
+    if (!HIPPathEnv->empty()) {
+      HIPSearchDirs.emplace_back(std::move(*HIPPathEnv));
----------------
Style nit. Single-statement if body should be w/o `{}`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145391/new/

https://reviews.llvm.org/D145391



More information about the cfe-commits mailing list