aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorYaxun (Sam) Liu <yaxun.liu@amd.com>2023-06-12 13:45:19 -0400
committerYaxun (Sam) Liu <yaxun.liu@amd.com>2023-06-13 11:12:11 -0400
commite40e427a649df21ce9f11f0b688124855789e2ee (patch)
tree4ae3fba0673ad57edc7b895a2bc3b7a922b7b28e /flang/lib/Frontend/CompilerInvocation.cpp
parent7d3bba5e2fe677d04614bf4ba02a55ee3da4ec02 (diff)
downloadllvm-e40e427a649df21ce9f11f0b688124855789e2ee.zip
llvm-e40e427a649df21ce9f11f0b688124855789e2ee.tar.gz
llvm-e40e427a649df21ce9f11f0b688124855789e2ee.tar.bz2
[HIP] Fix HIP path detection
Fix two issues: --hip-path should not do rigorous checking, i.e. if .hipVersion exists it will use it, otherwise it will not error out but assumes the default HIP version. This is to be consistent with --rocm-path behavior. when HIP_PATH is empty, it should be ignored. This is to be consistent with ROCM_PATH behavior. Reviewed by: Artem Belevich Differential Revision: https://reviews.llvm.org/D152734 Fixes: SWDEV-404771
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions