[clang] [clang][Driver] Don't warn when -nostdinc and -nostdinc++ are both specified (PR #77130)

2024-01-05 Thread Jonathon Penix via cfe-commits
https://github.com/jonathonpenix created https://github.com/llvm/llvm-project/pull/77130 When -nostdinc and -nostdinc++ are both specified and the Baremetal toolchain is used, an unused command line argument warning for -nostdinc++ is produced. This doesn't seem particularly meaningful as -nos

[clang] [clang][Driver] Don't warn when -nostdinc and -nostdinc++ are both specified (PR #77130)

2024-01-05 Thread Jonathon Penix via cfe-commits
https://github.com/jonathonpenix closed https://github.com/llvm/llvm-project/pull/77130 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][Driver][RISCV] Honor -m[no-]global-merge for RISC-V (PR #79372)

2024-01-24 Thread Jonathon Penix via cfe-commits
https://github.com/jonathonpenix created https://github.com/llvm/llvm-project/pull/79372 The GlobalMerge pass was enabled for RISC-V in [1] and left off by default. My understanding from [2] is that the concern around enabling the pass by default stemmed primarily from GlobalMerge preventing G

[clang] [clang][Driver][RISCV] Honor -m[no-]global-merge for RISC-V (PR #79372)

2024-01-24 Thread Jonathon Penix via cfe-commits
jonathonpenix wrote: Also few misc. notes: 1. Please let me know if this needs to be discussed elsewhere and I'd be happy to do so! I was originally thinking to ping https://reviews.llvm.org/D130481 / https://reviews.llvm.org/D129178 to check if this made sense, but they are read-only now IIU

[clang] [clang][Driver][RISCV] Honor -m[no-]global-merge for RISC-V (PR #79372)

2024-01-24 Thread Jonathon Penix via cfe-commits
https://github.com/jonathonpenix updated https://github.com/llvm/llvm-project/pull/79372 >From 37cf78919afbfb6eb4e1bc36a3d8fbb678ffd821 Mon Sep 17 00:00:00 2001 From: Jonathon Penix Date: Tue, 23 Jan 2024 15:10:50 -0800 Subject: [PATCH 1/2] [clang][Driver][RISCV] Honor -m[no-]global-merge for

[clang] [clang][Driver][RISCV] Honor -m[no-]global-merge for RISC-V (PR #79372)

2024-01-24 Thread Jonathon Penix via cfe-commits
@@ -2129,6 +2129,16 @@ void Clang::AddRISCVTargetArgs(const ArgList &Args, << A->getSpelling() << Val; } } + + // Forward the -mglobal-merge option for explicit control over the pass. + if (Arg *A = Args.getLastArg(options::OPT_mglobal_merge, +

[clang] 0ec3ac9 - [Flang] Add -fconvert option to swap endianness for unformatted files.

2022-10-12 Thread Jonathon Penix via cfe-commits
Author: Jonathon Penix Date: 2022-10-12T16:57:37-07:00 New Revision: 0ec3ac9b7fbd15698af7289e1214e8ff3d82ec14 URL: https://github.com/llvm/llvm-project/commit/0ec3ac9b7fbd15698af7289e1214e8ff3d82ec14 DIFF: https://github.com/llvm/llvm-project/commit/0ec3ac9b7fbd15698af7289e1214e8ff3d82ec14.diff