Fix a typo about -fno-gpu-sanitize handling and disable warnings when
-fno-gpu-sanitize is specified.
Details
Details
- Reviewers
tra - Commits
- rGda9a70313d60: [HIP] Fix -fno-gpu-sanitize
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Driver/ToolChains/HIPAMD.cpp | ||
---|---|---|
165 | Note: the third argument of hasFlag defaults to true before I removed it in 522712e2d241ea33575a9c7a60ad582634f04f0d. I suspect it might not be what you intended. |
clang/lib/Driver/ToolChains/HIPAMD.cpp | ||
---|---|---|
165 | The default value of OPT_fgpu_sanitize is intended to be true. Thanks. |
Note: the third argument of hasFlag defaults to true before I removed it in 522712e2d241ea33575a9c7a60ad582634f04f0d. I suspect it might not be what you intended.