[clang] [clang][cmake] Sanitize CLANG_BOLT values (PR #126768)

2025-02-13 Thread Tom Stellard via cfe-commits
https://github.com/tstellar approved this pull request. https://github.com/llvm/llvm-project/pull/126768 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CMake][Release] Statically link clang with stage1 runtimes (PR #127268)

2025-02-14 Thread Tom Stellard via cfe-commits
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/127268 This change will cause clang and the other tools to statically link against the runtimes built in stage1. This will make the built binaries more portable by eliminating dependencies on system libraries like l

[clang] [flang] [CMake][Release] Statically link clang with stage1 runtimes (PR #127268)

2025-02-15 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/127268 >From a705acfd439e6310648b0ed1ad612eaffc408ad5 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 14 Feb 2025 17:46:25 + Subject: [PATCH 1/6] [CMake][Release] Statically link clang with stage1 runtimes

[clang] [flang] [CMake][Release] Statically link clang with stage1 runtimes (PR #127268)

2025-02-15 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/127268 >From a705acfd439e6310648b0ed1ad612eaffc408ad5 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 14 Feb 2025 17:46:25 + Subject: [PATCH 1/5] [CMake][Release] Statically link clang with stage1 runtimes

[clang] [CMake][Release] Statically link clang with stage1 runtimes (PR #127268)

2025-02-14 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/127268 >From a705acfd439e6310648b0ed1ad612eaffc408ad5 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 14 Feb 2025 17:46:25 + Subject: [PATCH 1/2] [CMake][Release] Statically link clang with stage1 runtimes

[clang] [flang] [CMake][Release] Statically link clang with stage1 runtimes (PR #127268)

2025-02-15 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/127268 >From a705acfd439e6310648b0ed1ad612eaffc408ad5 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 14 Feb 2025 17:46:25 + Subject: [PATCH 1/3] [CMake][Release] Statically link clang with stage1 runtimes

[clang] [Clang][MicrosoftMangle] Implement mangling for ConstantMatrixType (PR #134930)

2025-04-30 Thread Tom Stellard via cfe-commits
tstellar wrote: /cherry-pick f5a30f111dc4ad6422863722eb708059a68a9d5c https://github.com/llvm/llvm-project/pull/134930 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][MicrosoftMangle] Implement mangling for ConstantMatrixType (PR #134930)

2025-04-30 Thread Tom Stellard via cfe-commits
https://github.com/tstellar milestoned https://github.com/llvm/llvm-project/pull/134930 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Silence -Wcast-function-type warnings on idiomatic Windows code (PR #135660)

2025-04-15 Thread Tom Stellard via cfe-commits
tstellar wrote: @AaronBallman Were you able to manually cherry-pick this one? https://github.com/llvm/llvm-project/pull/135660 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Fix __{add, remove}_pointer in Objective-C++ (PR #123678)

2025-02-17 Thread Tom Stellard via cfe-commits
tstellar wrote: @philnik777 Were you able to manually create the backport pull request? https://github.com/llvm/llvm-project/pull/123678 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [CMake][Release] Statically link clang with stage1 runtimes (PR #127268)

2025-02-17 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/127268 >From a705acfd439e6310648b0ed1ad612eaffc408ad5 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 14 Feb 2025 17:46:25 + Subject: [PATCH 1/7] [CMake][Release] Statically link clang with stage1 runtimes

[clang] [flang] [llvm] [CMake][Release] Statically link clang with stage1 runtimes (PR #127268)

2025-02-17 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/127268 >From a705acfd439e6310648b0ed1ad612eaffc408ad5 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 14 Feb 2025 17:46:25 + Subject: [PATCH 1/8] [CMake][Release] Statically link clang with stage1 runtimes

[clang] [flang] [CMake][Release] Statically link clang with stage1 runtimes (PR #127268)

2025-02-17 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/127268 >From a705acfd439e6310648b0ed1ad612eaffc408ad5 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 14 Feb 2025 17:46:25 + Subject: [PATCH 1/7] [CMake][Release] Statically link clang with stage1 runtimes

[clang] [flang] [llvm] [CMake][Release] Statically link clang with stage1 runtimes (PR #127268)

2025-02-19 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/127268 >From a705acfd439e6310648b0ed1ad612eaffc408ad5 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 14 Feb 2025 17:46:25 + Subject: [PATCH 1/8] [CMake][Release] Statically link clang with stage1 runtimes

[clang] [flang] [llvm] [CMake][Release] Statically link clang with stage1 runtimes (PR #127268)

2025-02-19 Thread Tom Stellard via cfe-commits
@@ -90,9 +88,17 @@ else() set(CLANG_BOOTSTRAP_TARGETS ${LLVM_RELEASE_FINAL_STAGE_TARGETS} CACHE STRING "") endif() +if (LLVM_RELEASE_ENABLE_LTO) + # Enable LTO for the runtimes. We need to configure stage1 clang to default + # to using lld as the linker because the stage

[clang] Add support for dynamic libraries in CLANG_BOLT (PR #127020)

2025-03-01 Thread Tom Stellard via cfe-commits
https://github.com/tstellar approved this pull request. LGTM. https://github.com/llvm/llvm-project/pull/127020 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][perf-training] Support excluding LLVM build from PGO training (PR #126876)

2025-02-13 Thread Tom Stellard via cfe-commits
https://github.com/tstellar approved this pull request. LGTM. https://github.com/llvm/llvm-project/pull/126876 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][perf-training] Support excluding LLVM build from PGO training (PR #126876)

2025-02-14 Thread Tom Stellard via cfe-commits
tstellar wrote: @petrhosek I also wanted to mention, if you are interested in upstreaming this minimal corpus, I would support making it the default instead of the current llvm-support build. https://github.com/llvm/llvm-project/pull/126876 ___ cfe-

[clang] Add support for dynamic libraries in CLANG_BOLT (PR #127020)

2025-02-19 Thread Tom Stellard via cfe-commits
@@ -574,47 +591,67 @@ def bolt_optimize(args): opts = parser.parse_args(args) -output = subprocess.check_output( -[opts.readelf, "-WS", opts.input], universal_newlines=True -) +inputs = opts.input.split(";") +instrumented_outputs = opts.instrumente

[clang] Add support for dynamic libraries in CLANG_BOLT (PR #127020)

2025-02-19 Thread Tom Stellard via cfe-commits
@@ -168,6 +168,28 @@ if (CLANG_BOLT AND NOT LLVM_BUILD_INSTRUMENTED) ) set(LIT_COMMAND "${lit_base_dir}/${lit_file_name}") + set(CLANG_BOLT_INPUTS $) + set(CLANG_INSTRUMENTED_OUTPUTS ${CLANG_INSTRUMENTED}) + + # Add in dynamically linked libraries, if needs be. Currentl

[clang] Add support for dynamic libraries in CLANG_BOLT (PR #127020)

2025-02-19 Thread Tom Stellard via cfe-commits
@@ -176,15 +198,15 @@ if (CLANG_BOLT AND NOT LLVM_BUILD_INSTRUMENTED) TARGET clang POST_BUILD COMMAND "${Python3_EXECUTABLE}" ${CMAKE_CURRENT_SOURCE_DIR}/../../utils/perf-training/perf-helper.py bolt-optimize ---method ${CLANG_BOLT} -

[clang] [clang][perf-training] Support excluding LLVM build from PGO training (PR #126876)

2025-02-19 Thread Tom Stellard via cfe-commits
@@ -11,6 +11,7 @@ config.python_exe = "@Python3_EXECUTABLE@" config.cmake_exe = "@CMAKE_COMMAND@" config.llvm_src_dir ="@CMAKE_SOURCE_DIR@" config.cmake_generator ="@CMAKE_GENERATOR@" +config.use_llvm_build = @CLANG_PGO_TRAINING_USE_LLVM_BUILD@ tstellar wrote:

[clang] Add support for dynamic libraries in CLANG_BOLT (PR #127020)

2025-02-19 Thread Tom Stellard via cfe-commits
https://github.com/tstellar commented: I like the idea here. I wonder if this could be generalized somehow in `add_llvm_library` so that it could be applied to arbitrary libraries. I had wanted to try to generalize this for executable in `add_llvm_executable`. I'm fine taking this patch as-

[clang] [flang] [llvm] [CMake][Release] Statically link clang with stage1 runtimes (PR #127268)

2025-02-19 Thread Tom Stellard via cfe-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/127268 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] workflows/release-binaries: Enable Windows x86 builds (PR #128274)

2025-02-21 Thread Tom Stellard via cfe-commits
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/128274 None >From 29b82de7c0ac1cd008a5ddc79c42f5cd492694a7 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 22 Feb 2025 03:08:24 + Subject: [PATCH] workflows/release-binaries: Enable Windows x86 builds ---

[clang] [llvm] workflows/release-binaries: Enable Windows x86 builds (PR #128274)

2025-02-24 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/128274 >From 29b82de7c0ac1cd008a5ddc79c42f5cd492694a7 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 22 Feb 2025 03:08:24 + Subject: [PATCH 1/2] workflows/release-binaries: Enable Windows x86 builds ---

[clang] [CMake][Release] Statically link ZSTD on all OSes (PR #128554)

2025-02-24 Thread Tom Stellard via cfe-commits
https://github.com/tstellar ready_for_review https://github.com/llvm/llvm-project/pull/128554 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CMake][Release] Statically link ZSTD on all OSes (PR #128554)

2025-02-24 Thread Tom Stellard via cfe-commits
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/128554 This will make the binaries more portable. >From cd4c3fba2c4edb69797ba16cd6faf1440d5f7e13 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 24 Feb 2025 19:13:54 + Subject: [PATCH] [CMake][Release] Sta

[clang] [llvm] workflows/release-binaries: Enable Windows x86 builds (PR #128274)

2025-02-24 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/128274 >From 29b82de7c0ac1cd008a5ddc79c42f5cd492694a7 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 22 Feb 2025 03:08:24 + Subject: [PATCH 1/3] workflows/release-binaries: Enable Windows x86 builds ---

[clang] [CMake] Fix variable name (PR #127967)

2025-02-20 Thread Tom Stellard via cfe-commits
https://github.com/tstellar approved this pull request. LGTM. I confirmed this fixes the release build configuration. https://github.com/llvm/llvm-project/pull/127967 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-b

[clang] [CMake] Fix variable name (PR #127967)

2025-02-20 Thread Tom Stellard via cfe-commits
tstellar wrote: > The fix is NOT correct. You need to enclose in quotes as @tstellar mentions > in #126876 ` llvm_canonicalize_cmake_booleans` converts the string to an integer so you don't need the quotes now that this function is called with the correct variable. This is what the generated

[clang] [CMake][Release] Statically link libz (PR #128788)

2025-02-25 Thread Tom Stellard via cfe-commits
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/128788 This will make the binaries more portable. >From c778a3369e3435b6b08b3ef41c6f628ead50f876 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 25 Feb 2025 23:41:11 + Subject: [PATCH] [CMake][Release] Sta

[clang] [clang][analysis] Fix flaky clang/test/Analysis/live-stmts.cpp test (2nd attempt) (PR #127406)

2025-02-25 Thread Tom Stellard via cfe-commits
tstellar wrote: /cherry-pick f378e52ed3c6f8da4973f97f1ef043c2eb0da721 https://github.com/llvm/llvm-project/pull/127406 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][analysis] Fix flaky clang/test/Analysis/live-stmts.cpp test (2nd attempt) (PR #127406)

2025-02-25 Thread Tom Stellard via cfe-commits
https://github.com/tstellar milestoned https://github.com/llvm/llvm-project/pull/127406 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CMake][Release] Statically link ZSTD on all OSes (PR #128554)

2025-02-25 Thread Tom Stellard via cfe-commits
tstellar wrote: /cherry-pick 09832777d830e0fddff84bf36793ec4e453656b0 https://github.com/llvm/llvm-project/pull/128554 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CMake][Release] Statically link ZSTD on all OSes (PR #128554)

2025-02-25 Thread Tom Stellard via cfe-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/128554 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CMake][Release] Statically link ZSTD on all OSes (PR #128554)

2025-02-25 Thread Tom Stellard via cfe-commits
https://github.com/tstellar milestoned https://github.com/llvm/llvm-project/pull/128554 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [CMake][Release] Enable bolt optimization for clang on Linux (PR #128090)

2025-02-25 Thread Tom Stellard via cfe-commits
tstellar wrote: /cherry-pick 148111fdcf0e807fe74274b18fcf65c4cff45d63 https://github.com/llvm/llvm-project/pull/128090 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [CMake][Release] Enable bolt optimization for clang on Linux (PR #128090)

2025-02-25 Thread Tom Stellard via cfe-commits
https://github.com/tstellar milestoned https://github.com/llvm/llvm-project/pull/128090 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [CMake][Release] Enable bolt optimization for clang on Linux (PR #128090)

2025-02-25 Thread Tom Stellard via cfe-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/128090 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [fatlto] Use the ThinLTO default pipeline for FatLTO (PR #134434)

2025-04-04 Thread Tom Stellard via cfe-commits
https://github.com/tstellar milestoned https://github.com/llvm/llvm-project/pull/134434 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Fix _XOPEN_SOURCE definition on Solaris (PR #137141)

2025-05-10 Thread Tom Stellard via cfe-commits
tstellar wrote: Was there a backport PR created for this change? https://github.com/llvm/llvm-project/pull/137141 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NFC][Clang][CodeGen] Remove vestigial assertion (PR #127528)

2025-05-10 Thread Tom Stellard via cfe-commits
tstellar wrote: @jhuber6 Was the follow-up for this backported too? https://github.com/llvm/llvm-project/pull/127528 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Demote mixed enumeration arithmetic error to a warning (PR #131811)

2025-05-10 Thread Tom Stellard via cfe-commits
tstellar wrote: @cor3ntin Were you able to manually create a backport PR for this? https://github.com/llvm/llvm-project/pull/131811 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][analysis] Fix flaky clang/test/Analysis/live-stmts.cpp test (2nd attempt) (PR #127406)

2025-05-10 Thread Tom Stellard via cfe-commits
tstellar wrote: Is there interest in backporting this to the release branch? If so, can someone manually create a PR? https://github.com/llvm/llvm-project/pull/127406 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-

[clang] [CMake][Release] Build with -ffat-lto-objects (PR #140381)

2025-05-17 Thread Tom Stellard via cfe-commits
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/140381 Fixes #133580 >From abf0d25f2197cb154ec7afd7bca5962975742b44 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 17 May 2025 16:40:51 + Subject: [PATCH] [CMake][Release] Build with -ffat-lto-objects Fi

[clang] [Clang][AST] Fix HandleLValueBase to deal with references (PR #140105)

2025-05-25 Thread Tom Stellard via cfe-commits
tstellar wrote: @frederick-vs-ja Were you able to create a PR for this backport? https://github.com/llvm/llvm-project/pull/140105 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Fix the indent of StartOfName after AttributeMacro (PR #140361)

2025-05-23 Thread Tom Stellard via cfe-commits
tstellar wrote: This was backported in https://github.com/llvm/llvm-project/pull/141004 https://github.com/llvm/llvm-project/pull/140361 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Implement StmtPrinter for EmbedExpr (PR #135957)

2025-06-11 Thread Tom Stellard via cfe-commits
tstellar wrote: Was there a backport request created for this one? https://github.com/llvm/llvm-project/pull/135957 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Fail the constraint substitution early after CWG2369 (PR #143096)

2025-07-18 Thread Tom Stellard via cfe-commits
tstellar wrote: @zyn0217 I was able to make it slightly smaller, but it's still pretty big. [repro-small.ii.tar.gz](https://github.com/user-attachments/files/21319322/repro-small.ii.tar.gz) https://github.com/llvm/llvm-project/pull/143096 ___ cfe-comm

<    1   2   3   4   5   6