GeorgeWeb wrote:
@Artem-B Hi, sorry for the direct ping. I was just wondering if it's okay to
take a quick look at this patch.
(Didn't know how to ping folks subscribed to clang-driver).
Thanks! 🙏
https://github.com/llvm/llvm-project/pull/65327
___
@@ -28,6 +28,17 @@
// RUN: --offload-arch=sm_35 --cuda-path=%S/Inputs/CUDA/usr/local/cuda \
// RUN: | FileCheck -check-prefixes=CHECK,ARCH64,SM35,RDC %s
+// Compiling -O{1,2,3,4,fast,s,z} with -g does not pass -g debug info to ptxas.
+// NOTE: This is because ptxas does not
@@ -413,13 +413,25 @@ void NVPTX::Assembler::ConstructJob(Compilation &C, const
JobAction &JA,
// TODO: Perhaps we should map host -O2 to ptxas -O3. -O3 is ptxas's
// default, so it may correspond more closely to the spirit of clang -O2.
+bool noOptimization = A->
https://github.com/GeorgeWeb edited
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
https://github.com/GeorgeWeb closed
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
GeorgeWeb wrote:
Agreed not to go this path, hence closing this PR. Thanks for reviews.
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