[clang] [CLANG][DRIVER] Resolve Argument Visibility and Duplication Issue for Cuda ToolChain (PR #86807)

2024-03-27 Thread Jefferson Le Quellec via cfe-commits
https://github.com/jle-quel created https://github.com/llvm/llvm-project/pull/86807 # Description This PR makes the argument `-Xcuda-ptxas` visible to the driver in cl-mode. Furthermore, it has been noticed that the arguments are being passed twice to `ptxas`. This also has been fixed by filt

[clang] [Driver][OpenMP] Fix OpenMP target-toolchain-option parser (PR #115375)

2024-11-07 Thread Jefferson Le Quellec via cfe-commits
https://github.com/jle-quel created https://github.com/llvm/llvm-project/pull/115375 ## Description This PR fixes a segmentation fault that occurs when passing options requiring arguments via `-Xopenmp-target=`. The issue was that the function `Driver::getOffloadArchs` did not properly parse

[clang] [Driver][OpenMP] Fix OpenMP target-toolchain-option parser (PR #115375)

2024-11-29 Thread Jefferson Le Quellec via cfe-commits
jle-quel wrote: Ping @alexey-bataev @MaskRay https://github.com/llvm/llvm-project/pull/115375 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver][OpenMP] Fix OpenMP target-toolchain-option parser (PR #115375)

2024-11-18 Thread Jefferson Le Quellec via cfe-commits
https://github.com/jle-quel updated https://github.com/llvm/llvm-project/pull/115375 >From b85cc64cee1ac22f27c648ca8d892b40804f6d98 Mon Sep 17 00:00:00 2001 From: Jefferson Le Quellec Date: Thu, 7 Nov 2024 22:38:26 +0100 Subject: [PATCH] Fix OpenMP target-toolchain-option parser --- clang/lib

[clang] [Driver][OpenMP] Fix OpenMP target-toolchain-option parser (PR #115375)

2024-12-02 Thread Jefferson Le Quellec via cfe-commits
https://github.com/jle-quel updated https://github.com/llvm/llvm-project/pull/115375 >From b85cc64cee1ac22f27c648ca8d892b40804f6d98 Mon Sep 17 00:00:00 2001 From: Jefferson Le Quellec Date: Thu, 7 Nov 2024 22:38:26 +0100 Subject: [PATCH 1/2] Fix OpenMP target-toolchain-option parser --- clang

[clang] [Driver][OpenMP] Fix OpenMP target-toolchain-option parser (PR #115375)

2024-12-02 Thread Jefferson Le Quellec via cfe-commits
@@ -84,9 +84,15 @@ /// Check -Xopenmp-target triggers error when an option requiring arguments is passed to it. // RUN: not %clang -### -no-canonical-prefixes -fopenmp=libomp -fopenmp-targets=powerpc64le-ibm-linux-gnu -Xopenmp-target -Xopenmp-target -mcpu=pwr8 %s 2>&1 \ -

[clang] [Driver][OpenMP] Fix OpenMP target-toolchain-option parser (PR #115375)

2024-12-06 Thread Jefferson Le Quellec via cfe-commits
jle-quel wrote: @MaskRay @alexey-bataev, if everything looks good now, could we go ahead and merge this PR? Thanks for your time reviewing! https://github.com/llvm/llvm-project/pull/115375 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https: