[clang] [NVPTX] Add a warning that device debug info does not work with optimizations (PR #65327)

2023-09-05 Thread Georgi Mirazchiyski via cfe-commits
https://github.com/GeorgeWeb updated https://github.com/llvm/llvm-project/pull/65327: >From 757383fd9a9783c290fd4957e4e7526b854c9920 Mon Sep 17 00:00:00 2001 From: Georgi Mirazchiyski Date: Tue, 5 Sep 2023 14:21:24 +0100 Subject: [PATCH] [Driver][NVPTX] Add a warning that device debug info

[clang] [NVPTX] Add a warning that device debug info does not work with optimizations (PR #65327)

2023-09-05 Thread via cfe-commits
https://github.com/github-actions[bot] labeled https://github.com/llvm/llvm-project/pull/65327 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NVPTX] Add a warning that device debug info does not work with optimizations (PR #65327)

2023-09-05 Thread Georgi Mirazchiyski via cfe-commits
https://github.com/GeorgeWeb review_requested https://github.com/llvm/llvm-project/pull/65327 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NVPTX] Add a warning that device debug info does not work with optimizations (PR #65327)

2023-09-05 Thread Georgi Mirazchiyski via cfe-commits
https://github.com/GeorgeWeb created https://github.com/llvm/llvm-project/pull/65327: Passing `-g` to `ptxas` with any optimizations enabled is not allowed because, `ptxas` does not support optimized debugging. >From 0efb5b6f3042224cf89978f607d5ff9cd1665351 Mon Sep 17 00:00:00 2001 From: