[clang] [Driver] Add the --gcc-triple option (PR #73214)

2023-11-22 Thread Tom Stellard via cfe-commits
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/73214 When --gcc-triple is used, the driver will search for the 'best' gcc installation that has the given triple. This is useful for distributions that want clang to use a specific gcc triple, but do not want to pi

LLVM ABI Annotations (PR #67502)

2023-10-27 Thread Tom Stellard via cfe-commits
tstellar wrote: I'm working on rebasing this. https://github.com/llvm/llvm-project/pull/67502 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

LLVM ABI Annotations (PR #67502)

2023-10-27 Thread Tom Stellard via cfe-commits
tstellar wrote: I'm working on rebasing this. https://github.com/llvm/llvm-project/pull/67502 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

LLVM ABI Annotations (PR #67502)

2023-10-27 Thread Tom Stellard via cfe-commits
tstellar wrote: I'm working on rebasing this. https://github.com/llvm/llvm-project/pull/67502 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Add the --gcc-triple option (PR #73214)

2023-12-13 Thread Tom Stellard via cfe-commits
@@ -2130,6 +2130,15 @@ void Generic_GCC::GCCInstallationDetector::init( return; } + // If --gcc-triple is specified use this instead of trying to + // auto-detect a triple. + if (const Arg *A = + Args.getLastArg(clang::driver::options::OPT_gcc_triple_EQ)) { +

[clang] [Driver] Add the --gcc-triple option (PR #73214)

2023-12-13 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/73214 >From 72f6f3a611f237f71ce02cfb79620257a9e2d827 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 16 Nov 2023 05:11:04 + Subject: [PATCH 1/6] [Driver] Add the --gcc-triple option When --gcc-triple is us

[clang] [Driver] Add the --gcc-triple option (PR #73214)

2023-12-13 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/73214 >From 72f6f3a611f237f71ce02cfb79620257a9e2d827 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 16 Nov 2023 05:11:04 + Subject: [PATCH 1/7] [Driver] Add the --gcc-triple option When --gcc-triple is us

[clang] Driver: Accept the --gcc-install-dir option multiple times (PR #71446)

2023-12-13 Thread Tom Stellard via cfe-commits
tstellar wrote: Closing in favor of #73214 . https://github.com/llvm/llvm-project/pull/71446 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Driver: Accept the --gcc-install-dir option multiple times (PR #71446)

2023-12-13 Thread Tom Stellard via cfe-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/71446 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] test-release.sh: Add a CMake cache file for 3-stage release builds (PR #75903)

2023-12-19 Thread Tom Stellard via cfe-commits
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/75903 You can now pass the -use-cmake-cache option to test-release.sh and it will use a predefined cache file for building the release. This will make it easier to reproduce the builds and add other enhancements lik

[clang] [llvm] test-release.sh: Add a CMake cache file for 3-stage release builds (PR #75903)

2023-12-19 Thread Tom Stellard via cfe-commits
tstellar wrote: > Out of curiosity, what's the reason for using 3-stage (rather than 2-stage) > build? I'm trying to replicate what the script currently does which is a 3-stage build. I also want to add in PGO in the future, which would require 3 stages. https://github.com/llvm/llvm-project/

[clang] [Driver] Add the --gcc-triple option (PR #73214)

2023-11-26 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/73214 >From 72f6f3a611f237f71ce02cfb79620257a9e2d827 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 16 Nov 2023 05:11:04 + Subject: [PATCH 1/2] [Driver] Add the --gcc-triple option When --gcc-triple is us

[llvm] [clang] test-release.sh: Add a CMake cache file for 3-stage release builds (PR #75903)

2024-01-03 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/75903 >From 88b9aac241bed0ce7c65fa798b68c9779f0615e7 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 15 Dec 2023 01:27:25 + Subject: [PATCH 1/2] test-release.sh: Add a CMake cache file for 3-stage release

[clang] [Driver] Add the --gcc-triple option (PR #73214)

2024-01-04 Thread Tom Stellard via cfe-commits
tstellar wrote: @MaskRay Do these tests look OK now? https://github.com/llvm/llvm-project/pull/73214 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] test-release.sh: Add a CMake cache file for 3-stage release builds (PR #75903)

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

[clang] [CMake][Release] Add option for enabling LTO to cache file (PR #77035)

2024-01-04 Thread Tom Stellard via cfe-commits
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/77035 This option is LLVM_RELEASE_ENABLE_LTO and it's turned on by default. >From db643899042aea45da93c1738b523f139f307295 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 5 Jan 2024 00:58:58 + Subject: [PA

[clang] [llvm] [CMake][Release] Add option for enabling LTO to cache file (PR #77035)

2024-01-08 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/77035 >From db643899042aea45da93c1738b523f139f307295 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 5 Jan 2024 00:58:58 + Subject: [PATCH 1/3] [CMake][Release] Add option for enabling LTO to cache file T

[clang] [CMake][Release] Add option for enabling LTO to cache file (PR #77035)

2024-01-08 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/77035 >From db643899042aea45da93c1738b523f139f307295 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 5 Jan 2024 00:58:58 + Subject: [PATCH] [CMake][Release] Add option for enabling LTO to cache file This o

[clang] [CMake][PGO] Use check-clang target to generate profdata for PGO builds (PR #77347)

2024-01-08 Thread Tom Stellard via cfe-commits
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/77347 When doing a multi-stage PGO build of clang, run the check-clang and check-llvm targets using the instrumented clang and use that profile data for building the final stage2 clang. This is what is recommended b

[clang] [CMake][PGO] Use check-clang target to generate profdata for PGO builds (PR #77347)

2024-01-08 Thread Tom Stellard via cfe-commits
tstellar wrote: @kwk fyi https://github.com/llvm/llvm-project/pull/77347 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CMake][PGO] Use check-clang target to generate profdata for PGO builds (PR #77347)

2024-01-08 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/77347 >From 127e2ae83f33843cfb9c5cca314afa2fc9844239 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 6 Jan 2024 07:46:01 + Subject: [PATCH 1/2] [CMake][PGO] Use check-clang target to generate profdata for

[clang] [CMake][PGO] Use check targets to generate profdata for PGO builds (PR #77347)

2024-01-08 Thread Tom Stellard via cfe-commits
https://github.com/tstellar edited https://github.com/llvm/llvm-project/pull/77347 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CMake][PGO] Use check targets to generate profdata for PGO builds (PR #77347)

2024-01-08 Thread Tom Stellard via cfe-commits
tstellar wrote: My goal right now is to make this simple and easy to use. I'm not opposed to making something configurable, but it would be nice to have a default that actually helped improve performance, so that a new user or a distribution maintainer could just use the cache file as is. Wh

[clang] [Driver] Add the --gcc-triple option (PR #73214)

2024-01-08 Thread Tom Stellard via cfe-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/73214 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CMake] Deprecate GCC_INSTALL_PREFIX (PR #77537)

2024-01-09 Thread Tom Stellard via cfe-commits
https://github.com/tstellar approved this pull request. I'm in favor of removing this. It doesn't make a lot of sense now that we have better config file support. https://github.com/llvm/llvm-project/pull/77537 ___ cfe-commits mailing list cfe-commit

[clang] fed96f3 - Re-commit: Driver: Don't warn on -mbranch-protection when linking

2022-03-24 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2022-03-24T16:57:42-07:00 New Revision: fed96f31bb5b68f77dd617ee8e698dd8171ee71b URL: https://github.com/llvm/llvm-project/commit/fed96f31bb5b68f77dd617ee8e698dd8171ee71b DIFF: https://github.com/llvm/llvm-project/commit/fed96f31bb5b68f77dd617ee8e698dd8171ee71b.diff

[clang] c7b3a91 - libclang.so: Make SONAME independent from LLVM version

2021-07-26 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2021-07-26T16:37:26-07:00 New Revision: c7b3a91017d26266d7556b1ac7c49b06f0109b91 URL: https://github.com/llvm/llvm-project/commit/c7b3a91017d26266d7556b1ac7c49b06f0109b91 DIFF: https://github.com/llvm/llvm-project/commit/c7b3a91017d26266d7556b1ac7c49b06f0109b91.diff

[clang] 69daca0 - libclang.so: Fix version script to work with gold

2021-07-26 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2021-07-26T16:52:27-07:00 New Revision: 69daca022ad71f5f697008e0b028c52023abe61b URL: https://github.com/llvm/llvm-project/commit/69daca022ad71f5f697008e0b028c52023abe61b DIFF: https://github.com/llvm/llvm-project/commit/69daca022ad71f5f697008e0b028c52023abe61b.diff

[clang] 0d7596c - libclang: Add missing export to python script that generates export list

2021-07-26 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2021-07-26T17:06:08-07:00 New Revision: 0d7596c348842af2c34b13cfd9e5b3480e6c8b0e URL: https://github.com/llvm/llvm-project/commit/0d7596c348842af2c34b13cfd9e5b3480e6c8b0e DIFF: https://github.com/llvm/llvm-project/commit/0d7596c348842af2c34b13cfd9e5b3480e6c8b0e.diff

[clang] 0300e16 - libclang: Fixes for the python script that generates the export list

2021-07-26 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2021-07-26T18:39:53-07:00 New Revision: 0300e16eb0a8e7bd980b6b14b6a3bae38786651d URL: https://github.com/llvm/llvm-project/commit/0300e16eb0a8e7bd980b6b14b6a3bae38786651d DIFF: https://github.com/llvm/llvm-project/commit/0300e16eb0a8e7bd980b6b14b6a3bae38786651d.diff

[clang] 08c766a - Bump the trunk major version to 14

2021-07-27 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2021-07-27T21:58:25-07:00 New Revision: 08c766a7318ab37bf1d77e0c683cd3b00e700877 URL: https://github.com/llvm/llvm-project/commit/08c766a7318ab37bf1d77e0c683cd3b00e700877 DIFF: https://github.com/llvm/llvm-project/commit/08c766a7318ab37bf1d77e0c683cd3b00e700877.diff

[clang] a4edb2b - libcang: Add missing function to libclang.map

2021-07-28 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2021-07-28T21:06:40-07:00 New Revision: a4edb2b1ba0bda9042e87ca3f3e1b9f70598df9a URL: https://github.com/llvm/llvm-project/commit/a4edb2b1ba0bda9042e87ca3f3e1b9f70598df9a DIFF: https://github.com/llvm/llvm-project/commit/a4edb2b1ba0bda9042e87ca3f3e1b9f70598df9a.diff

[clang] 98fd3b3 - Driver: Don't warn on -mbranch-protection when linking

2022-03-22 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2022-03-22T23:17:42-07:00 New Revision: 98fd3b359866f474ab1c097c22fb5c3be356b996 URL: https://github.com/llvm/llvm-project/commit/98fd3b359866f474ab1c097c22fb5c3be356b996 DIFF: https://github.com/llvm/llvm-project/commit/98fd3b359866f474ab1c097c22fb5c3be356b996.diff

[clang] 1089cdd - Revert "Driver: Don't warn on -mbranch-protection when linking"

2022-03-22 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2022-03-22T23:36:57-07:00 New Revision: 1089cdda776bbd437d6507242f2621ec83af7118 URL: https://github.com/llvm/llvm-project/commit/1089cdda776bbd437d6507242f2621ec83af7118 DIFF: https://github.com/llvm/llvm-project/commit/1089cdda776bbd437d6507242f2621ec83af7118.diff

[clang] bc39d7b - libclang.so: Make SONAME the same as LLVM version

2022-07-25 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2022-07-25T22:03:34-07:00 New Revision: bc39d7bdd4977a953b2e102f8f7eb479ad78984e URL: https://github.com/llvm/llvm-project/commit/bc39d7bdd4977a953b2e102f8f7eb479ad78984e DIFF: https://github.com/llvm/llvm-project/commit/bc39d7bdd4977a953b2e102f8f7eb479ad78984e.diff

[clang] [llvm] Add missing clang to the monolithic pre-merge build (PR #85354)

2024-03-14 Thread Tom Stellard via cfe-commits
https://github.com/tstellar approved this pull request. Good catch. https://github.com/llvm/llvm-project/pull/85354 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libclc] [libclc] Convert tabs to spaces in CMake (PR #85634)

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

[libclc] [libclc] Convert tabs to spaces in CMake (PR #85634)

2024-03-18 Thread Tom Stellard via cfe-commits
tstellar wrote: > FWIW I don't think the build bots are actually building `libclc`. > > Locally, at least, it's not sufficient to specify > `LLVM_ENABLE_PROJECTS=libclc` - you _also_ need > `LLVM_EXTERNAL_PROJECTS=libclc`. Even then, it doesn't build for me in-tree, > because it assumes `CMAK

[clang] [clang][CodeGen] Allow memcpy replace with trivial auto var init (PR #84230)

2024-03-22 Thread Tom Stellard via cfe-commits
tstellar wrote: Do we need to backport this to release/18.x? https://github.com/llvm/llvm-project/pull/84230 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libclc] [libclc] Make CMake messages better fit into LLVM (PR #86945)

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

[clang] [Sema] Mark alias/ifunc targets used and consider mangled names (PR #87130)

2024-03-29 Thread Tom Stellard via cfe-commits
https://github.com/tstellar requested changes to this pull request. I'm going to NAK this change for now. Given the recent [developments](https://www.openwall.com/lists/oss-security/2024/03/29/4) with the xz project and considering this feature was requested by a user associated with the proj

[clang] [clang-format] Fix a regression in dumping the config (PR #80628)

2024-02-09 Thread Tom Stellard via cfe-commits
tstellar wrote: Tracking the backport request here: #81096 https://github.com/llvm/llvm-project/pull/80628 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [CMake][PGO] Build Sema.cpp to generate profdata for PGO builds (PR #77347)

2024-02-13 Thread Tom Stellard via cfe-commits
@@ -26,9 +30,23 @@ if(LLVM_BUILD_INSTRUMENTED) message(STATUS "To enable merging PGO data LLVM_PROFDATA has to point to llvm-profdata") else() add_custom_target(generate-profdata - COMMAND "${Python3_EXECUTABLE}" ${CMAKE_CURRENT_SOURCE_DIR}/perf-helper.py merge

[clang] [llvm] [CMake][PGO] Add option for using an external project to generate profile data (PR #78879)

2024-01-30 Thread Tom Stellard via cfe-commits
@@ -11,11 +15,11 @@ if(LLVM_BUILD_INSTRUMENTED) add_lit_testsuite(generate-profraw "Generating clang PGO data" ${CMAKE_CURRENT_BINARY_DIR}/pgo-data/ EXCLUDE_FROM_CHECK_ALL -DEPENDS clang clear-profraw ${CLANG_PERF_TRAINING_DEPS} +DEPENDS clang clear-profraw ${

[clang] [clang-tools-extra] [llvm] [CMake][PGO] Add option for using an external project to generate profile data (PR #78879)

2024-02-02 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/78879 >From 0719f49ecc6dd69ae4698c3e84dbf175a1bf2ed3 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sun, 21 Jan 2024 00:25:47 + Subject: [PATCH 1/4] [CMake][PGO] Add libunwind to list of stage1 runtimes This f

[clang] [clang-tools-extra] [llvm] [CMake][PGO] Add option for using an external project to generate profile data (PR #78879)

2024-02-02 Thread Tom Stellard via cfe-commits
@@ -2,7 +2,7 @@ set(CMAKE_BUILD_TYPE RELEASE CACHE STRING "") set(CLANG_ENABLE_BOOTSTRAP ON CACHE BOOL "") set(LLVM_ENABLE_PROJECTS "clang;lld" CACHE STRING "") -set(LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx;libcxxabi" CACHE STRING "") +set(LLVM_ENABLE_RUNTIMES "compiler-rt;lib

[clang] [clang-tools-extra] [llvm] [CMake][PGO] Add option for using an external project to generate profile data (PR #78879)

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

[clang] [llvm] [Github] Use building LLVM as perf-training for CI container (PR #80713)

2024-02-05 Thread Tom Stellard via cfe-commits
@@ -0,0 +1,13 @@ +diff --git a/clang/cmake/caches/BOLT-PGO.cmake b/clang/cmake/caches/BOLT-PGO.cmake +index 1a04ca9a74e5..d092820e4115 100644 +--- a/clang/cmake/caches/BOLT-PGO.cmake b/clang/cmake/caches/BOLT-PGO.cmake +@@ -4,6 +4,8 @@ set(CLANG_BOOTSTRAP_TARGETS + stage2-

[llvm] [clang] [Github] Use building LLVM as perf-training for CI container (PR #80713)

2024-02-05 Thread Tom Stellard via cfe-commits
@@ -0,0 +1,13 @@ +diff --git a/clang/cmake/caches/BOLT-PGO.cmake b/clang/cmake/caches/BOLT-PGO.cmake +index 1a04ca9a74e5..d092820e4115 100644 +--- a/clang/cmake/caches/BOLT-PGO.cmake b/clang/cmake/caches/BOLT-PGO.cmake +@@ -4,6 +4,8 @@ set(CLANG_BOOTSTRAP_TARGETS + stage2-

[llvm] [clang] [Github] Use building LLVM as perf-training for CI container (PR #80713)

2024-02-05 Thread Tom Stellard via cfe-commits
@@ -0,0 +1,13 @@ +diff --git a/clang/cmake/caches/BOLT-PGO.cmake b/clang/cmake/caches/BOLT-PGO.cmake +index 1a04ca9a74e5..d092820e4115 100644 +--- a/clang/cmake/caches/BOLT-PGO.cmake b/clang/cmake/caches/BOLT-PGO.cmake +@@ -4,6 +4,8 @@ set(CLANG_BOOTSTRAP_TARGETS + stage2-

[llvm] [clang] [Github] Use building LLVM as perf-training for CI container (PR #80713)

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

[clang] [llvm] [CMake][PGO] Add option for using an external project to generate profile data (PR #78879)

2024-01-23 Thread Tom Stellard via cfe-commits
@@ -15,7 +19,7 @@ if(LLVM_BUILD_INSTRUMENTED) ) tstellar wrote: @petrhosek CLANG_PERF_TRAINING_DEPS was an existing variable that's used here. I think it was meant to be added to cache files, but I added it to CMakeLists.txt file here so that it could be

[clang] [llvm] [CMake][PGO] Add option for using an external project to generate profile data (PR #78879)

2024-01-23 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/78879 >From 0719f49ecc6dd69ae4698c3e84dbf175a1bf2ed3 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sun, 21 Jan 2024 00:25:47 + Subject: [PATCH 1/3] [CMake][PGO] Add libunwind to list of stage1 runtimes This f

[clang] [llvm] [CMake][Release] Add option for enabling PGO to release cache file. (PR #78823)

2024-01-23 Thread Tom Stellard via cfe-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/78823 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [CMake][PGO] Add option for using an external project to generate profile data (PR #78879)

2024-01-23 Thread Tom Stellard via cfe-commits
https://github.com/tstellar edited https://github.com/llvm/llvm-project/pull/78879 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [CMake][PGO] Add option for using an external project to generate profile data (PR #78879)

2024-01-23 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/78879 >From 0719f49ecc6dd69ae4698c3e84dbf175a1bf2ed3 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sun, 21 Jan 2024 00:25:47 + Subject: [PATCH 1/4] [CMake][PGO] Add libunwind to list of stage1 runtimes This f

[llvm] [clang] [SystemZ][z/OS] This change adds support for the PPA2 section in zOS (PR #68926)

2024-01-25 Thread Tom Stellard via cfe-commits
@@ -0,0 +1,31 @@ +; RUN: llc -mtriple s390x-ibm-zos -mcpu=z15 -asm-verbose=true < %s | FileCheck %s +; REQUIRES: systemz-registered-target + +; CHECK:.section".ppa2" +; CHECK: @@PPA2: +; CHECK:.byte 3 +; CHECK:.byte 231 +; CHECK:.byte 34 +; CHECK:.by

[llvm] [clang] [CMake][PGO] Use check targets to generate profdata for PGO builds (PR #77347)

2024-01-11 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/77347 >From 127e2ae83f33843cfb9c5cca314afa2fc9844239 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 6 Jan 2024 07:46:01 + Subject: [PATCH 1/4] [CMake][PGO] Use check-clang target to generate profdata for

[llvm] [clang] [CMake][PGO] Build Sema.cpp to generate profdata for PGO builds (PR #77347)

2024-01-11 Thread Tom Stellard via cfe-commits
https://github.com/tstellar edited https://github.com/llvm/llvm-project/pull/77347 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [CMake][PGO] Build Sema.cpp to generate profdata for PGO builds (PR #77347)

2024-01-11 Thread Tom Stellard via cfe-commits
https://github.com/tstellar edited https://github.com/llvm/llvm-project/pull/77347 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [CMake][PGO] Build Sema.cpp to generate profdata for PGO builds (PR #77347)

2024-01-11 Thread Tom Stellard via cfe-commits
tstellar wrote: I was able to figure out how to generate profile data by compiling Sema.cpp from the clang source tree, so I switched that to the default and added an option so that users can override this with an external CMake project, like the LLVM Test Suite. https://github.com/llvm/llvm-

[llvm] [clang] [CMake][PGO] Build Sema.cpp to generate profdata for PGO builds (PR #77347)

2024-01-11 Thread Tom Stellard via cfe-commits
tstellar wrote: cc @zmodem Since I borrowed your idea from #71067. https://github.com/llvm/llvm-project/pull/77347 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [CMake][PGO] Build Sema.cpp to generate profdata for PGO builds (PR #77347)

2024-01-11 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/77347 >From 127e2ae83f33843cfb9c5cca314afa2fc9844239 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 6 Jan 2024 07:46:01 + Subject: [PATCH 1/5] [CMake][PGO] Use check-clang target to generate profdata for

[clang] [CMake][Release] Add option for enabling LTO to cache file (PR #77035)

2024-01-11 Thread Tom Stellard via cfe-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/77035 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [CMake][PGO] Build Sema.cpp to generate profdata for PGO builds (PR #77347)

2024-01-11 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/77347 >From 127e2ae83f33843cfb9c5cca314afa2fc9844239 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 6 Jan 2024 07:46:01 + Subject: [PATCH 1/6] [CMake][PGO] Use check-clang target to generate profdata for

[llvm] [clang] [CMake][PGO] Build Sema.cpp to generate profdata for PGO builds (PR #77347)

2024-01-12 Thread Tom Stellard via cfe-commits
@@ -26,9 +30,23 @@ if(LLVM_BUILD_INSTRUMENTED) message(STATUS "To enable merging PGO data LLVM_PROFDATA has to point to llvm-profdata") else() add_custom_target(generate-profdata - COMMAND "${Python3_EXECUTABLE}" ${CMAKE_CURRENT_SOURCE_DIR}/perf-helper.py merge

[clang] [llvm] [CMake][PGO] Build Sema.cpp to generate profdata for PGO builds (PR #77347)

2024-01-12 Thread Tom Stellard via cfe-commits
@@ -26,9 +30,23 @@ if(LLVM_BUILD_INSTRUMENTED) message(STATUS "To enable merging PGO data LLVM_PROFDATA has to point to llvm-profdata") else() add_custom_target(generate-profdata - COMMAND "${Python3_EXECUTABLE}" ${CMAKE_CURRENT_SOURCE_DIR}/perf-helper.py merge

[llvm] [clang-tools-extra] [clang] Add OpenSSF Best Practice Badge (PR #77398)

2024-01-13 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/77398 >From 71574d1f8b37747b2b7176fffee8483a53fee4be Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 8 Jan 2024 16:39:00 -0800 Subject: [PATCH] Add OpenSSF Best Practice Badge --- README.md | 1 + 1 file chan

[llvm] [clang-tools-extra] [clang] Add OpenSSF Best Practice Badge (PR #77398)

2024-01-13 Thread Tom Stellard via cfe-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/77398 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang] [llvm] workflows: Refactor release-tasks.yml (PR #69523)

2024-01-13 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/69523 >From 6a7f298f403e0e454644f3d945242120f8b2b321 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 18 Oct 2023 04:56:28 -0700 Subject: [PATCH 1/4] workflows: Refactor release-tasks.yml * Split out the lit re

[clang-tools-extra] [clang] [llvm] workflows: Refactor release-tasks.yml (PR #69523)

2024-01-13 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/69523 >From 6a7f298f403e0e454644f3d945242120f8b2b321 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 18 Oct 2023 04:56:28 -0700 Subject: [PATCH 1/5] workflows: Refactor release-tasks.yml * Split out the lit re

[clang-tools-extra] [llvm] [clang] workflows: Refactor release-tasks.yml (PR #69523)

2024-01-13 Thread Tom Stellard via cfe-commits
tstellar wrote: Ping. https://github.com/llvm/llvm-project/pull/69523 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [clang-tools-extra] workflows: Refactor release-tasks.yml (PR #69523)

2024-01-16 Thread Tom Stellard via cfe-commits
@@ -26,21 +35,26 @@ jobs: prepare: name: Prepare to build binaries runs-on: ubuntu-22.04 -if: github.repository == 'llvm/llvm-project' outputs: - release-version: ${{ steps.validate-tag.outputs.release-version }} - flags: ${{ steps.validate-tag.outp

[llvm] [compiler-rt] [flang] [clang] [clang-tools-extra] workflows: Refactor release-tasks.yml (PR #69523)

2024-01-16 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/69523 >From 6a7f298f403e0e454644f3d945242120f8b2b321 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 18 Oct 2023 04:56:28 -0700 Subject: [PATCH 1/5] workflows: Refactor release-tasks.yml * Split out the lit re

[flang] [clang] [llvm] [clang-tools-extra] [compiler-rt] workflows: Refactor release-tasks.yml (PR #69523)

2024-01-16 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/69523 >From 6a7f298f403e0e454644f3d945242120f8b2b321 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 18 Oct 2023 04:56:28 -0700 Subject: [PATCH 1/6] workflows: Refactor release-tasks.yml * Split out the lit re

[clang-tools-extra] [llvm] [clang] [compiler-rt] [flang] workflows: Refactor release-tasks.yml (PR #69523)

2024-01-16 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/69523 >From 6a7f298f403e0e454644f3d945242120f8b2b321 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 18 Oct 2023 04:56:28 -0700 Subject: [PATCH 1/7] workflows: Refactor release-tasks.yml * Split out the lit re

[llvm] [clang] [CMake][PGO] Build Sema.cpp to generate profdata for PGO builds (PR #77347)

2024-01-17 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/77347 >From 127e2ae83f33843cfb9c5cca314afa2fc9844239 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 6 Jan 2024 07:46:01 + Subject: [PATCH 1/7] [CMake][PGO] Use check-clang target to generate profdata for

[llvm] [clang] [CMake][PGO] Build Sema.cpp to generate profdata for PGO builds (PR #77347)

2024-01-17 Thread Tom Stellard via cfe-commits
@@ -26,9 +30,23 @@ if(LLVM_BUILD_INSTRUMENTED) message(STATUS "To enable merging PGO data LLVM_PROFDATA has to point to llvm-profdata") else() add_custom_target(generate-profdata - COMMAND "${Python3_EXECUTABLE}" ${CMAKE_CURRENT_SOURCE_DIR}/perf-helper.py merge

[clang-tools-extra] [flang] [clang] [llvm] [compiler-rt] workflows: Refactor release-tasks.yml (PR #69523)

2024-01-17 Thread Tom Stellard via cfe-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/69523 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [CMake][Release] Add option for enabling PGO to release cache file. (PR #78823)

2024-01-19 Thread Tom Stellard via cfe-commits
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/78823 The option is LLVM_RELEASE_ENABLE_PGO and it's turned on by default. >From b23e23f862bec32e42fa7aa96da1fe0c4ed38a54 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 6 Jan 2024 06:44:32 + Subject: [PAT

[clang] Add a "don't override" mapping for -fvisibility-from-dllstorageclass (PR #74629)

2024-01-19 Thread Tom Stellard via cfe-commits
tstellar wrote: This commit broke the [ llvm-x86_64-debian-dylib bot](https://lab.llvm.org/buildbot/#/builders/196/builds/42821) https://github.com/llvm/llvm-project/pull/74629 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm

[clang] [llvm] [workflows] Split pr-code-format into two parts to make it more secure (PR #78216)

2024-01-19 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/78216 >From 035d4129ff02b776df53bfe149ce4af4af6072c4 Mon Sep 17 00:00:00 2001 From: Konrad Kleine Date: Thu, 24 Mar 2022 09:44:21 +0100 Subject: [PATCH 01/10] Produce DWARF4 by default Have a look at the following co

[clang] [llvm] [CMake][Release] Add option for enabling PGO to release cache file. (PR #78823)

2024-01-20 Thread Tom Stellard via cfe-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/78823 >From b23e23f862bec32e42fa7aa96da1fe0c4ed38a54 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 6 Jan 2024 06:44:32 + Subject: [PATCH 1/2] [CMake][Release] Add option for enabling PGO to release cache

[clang] [CMake][PGO] Add libunwind to list of stage1 runtimes (PR #78869)

2024-01-20 Thread Tom Stellard via cfe-commits
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/78869 This fixes the build since 8f90e6937a1fac80873bb2dab5f382c82ba1ba4e which made libcxxabi use llvm's libunwind by default. >From 0719f49ecc6dd69ae4698c3e84dbf175a1bf2ed3 Mon Sep 17 00:00:00 2001 From: Tom Stella

[llvm] [clang] [CMake][PGO] Add option for using an external project to generate profile data (PR #78879)

2024-01-20 Thread Tom Stellard via cfe-commits
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/78879 The new CLANG_PGO_TRAINING_DATA_SOURCE_DIR allows users to specify a CMake project to use for generating the profile data. For example, to use the llvm-test-suite to generate profile data you would do: $ cma

[llvm] [clang] [CMake][PGO] Build Sema.cpp to generate profdata for PGO builds (PR #77347)

2024-01-20 Thread Tom Stellard via cfe-commits
tstellar wrote: I split the new configuration option out into a separate PR: #78879, because it seems useful regardless of what the default is. We can continue to discuss the best default on this PR. https://github.com/llvm/llvm-project/pull/77347 _

[clang] [libc++] Move the check-generated-files job to Github Actions (PR #68920)

2023-10-18 Thread Tom Stellard via cfe-commits
https://github.com/tstellar approved this pull request. https://github.com/llvm/llvm-project/pull/68920 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 3203143 - CodeGen: Improve generated IR for __builtin_mul_overflow(uint, uint, int)

2020-12-17 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2020-12-17T14:30:31-08:00 New Revision: 3203143f1356a4e4e3ada231156fc6da6e1a9f9d URL: https://github.com/llvm/llvm-project/commit/3203143f1356a4e4e3ada231156fc6da6e1a9f9d DIFF: https://github.com/llvm/llvm-project/commit/3203143f1356a4e4e3ada231156fc6da6e1a9f9d.diff

[clang] dbb0153 - scan-view: Remove Reporter.py and associated AppleScript files

2020-12-21 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2020-12-21T19:24:35-08:00 New Revision: dbb01536f6f49fa428f170e34466072ef439b3e9 URL: https://github.com/llvm/llvm-project/commit/dbb01536f6f49fa428f170e34466072ef439b3e9 DIFF: https://github.com/llvm/llvm-project/commit/dbb01536f6f49fa428f170e34466072ef439b3e9.diff

Re: [clang] 722c39f - [HIP] Tighten checks in hip-include-path.hip test case

2021-05-26 Thread Tom Stellard via cfe-commits
On 5/19/21 4:15 AM, Bjorn Pettersson via cfe-commits wrote: Author: Bjorn Pettersson Date: 2021-05-19T13:11:57+02:00 New Revision: 722c39fef5ab611b3196e964bb3177a5ab473355 URL: https://github.com/llvm/llvm-project/commit/722c39fef5ab611b3196e964bb3177a5ab473355 DIFF: https://github.com/llvm/l

[clang] e3cd3a3 - Partially Revert "scan-view: Remove Reporter.py and associated AppleScript files"

2021-02-11 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2021-02-11T19:10:46-08:00 New Revision: e3cd3a3c91524c957e06bb0170343548f02b6842 URL: https://github.com/llvm/llvm-project/commit/e3cd3a3c91524c957e06bb0170343548f02b6842 DIFF: https://github.com/llvm/llvm-project/commit/e3cd3a3c91524c957e06bb0170343548f02b6842.diff

[clang] 303ddb6 - Fix utils/update_cc_test_checks/check-globals.test on stand-alone builds

2021-07-13 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2021-07-13T10:47:30-07:00 New Revision: 303ddb60a2d28fb7603266d8977f69ac77b194dd URL: https://github.com/llvm/llvm-project/commit/303ddb60a2d28fb7603266d8977f69ac77b194dd DIFF: https://github.com/llvm/llvm-project/commit/303ddb60a2d28fb7603266d8977f69ac77b194dd.diff

[clang] 74384c7 - Disable update_cc_test_checks.py tests in stand-alone builds

2022-08-11 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2022-08-11T20:53:37-07:00 New Revision: 74384c7fcec71cb040b0c874743e5fc38b2cd7a6 URL: https://github.com/llvm/llvm-project/commit/74384c7fcec71cb040b0c874743e5fc38b2cd7a6 DIFF: https://github.com/llvm/llvm-project/commit/74384c7fcec71cb040b0c874743e5fc38b2cd7a6.diff

[clang] c9a9593 - clang/cmake: Simplify lit detection for standalone builds

2022-11-03 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2022-11-03T15:12:55-07:00 New Revision: c9a959334707810795f7e8c56ab6dd55ff0a359d URL: https://github.com/llvm/llvm-project/commit/c9a959334707810795f7e8c56ab6dd55ff0a359d DIFF: https://github.com/llvm/llvm-project/commit/c9a959334707810795f7e8c56ab6dd55ff0a359d.diff

[clang] 8a084f6 - Revert "Move googletest to the third-party directory"

2022-11-09 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2022-11-09T11:34:59-08:00 New Revision: 8a084f68c8a1cac99d9fa0fbcf490b53ab3b6e0c URL: https://github.com/llvm/llvm-project/commit/8a084f68c8a1cac99d9fa0fbcf490b53ab3b6e0c DIFF: https://github.com/llvm/llvm-project/commit/8a084f68c8a1cac99d9fa0fbcf490b53ab3b6e0c.diff

[clang] a11cd0d - Move googletest to the third-party directory

2022-11-09 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2022-11-09T15:28:08-08:00 New Revision: a11cd0d94ed3cabf0998a0289aead05da94c86eb URL: https://github.com/llvm/llvm-project/commit/a11cd0d94ed3cabf0998a0289aead05da94c86eb DIFF: https://github.com/llvm/llvm-project/commit/a11cd0d94ed3cabf0998a0289aead05da94c86eb.diff

[clang] 8da41fe - [cmake] Fix _GNU_SOURCE being added unconditionally

2022-11-14 Thread Tom Stellard via cfe-commits
Author: Andreas Hollandt Date: 2022-11-14T12:28:21-08:00 New Revision: 8da41fe69622f35e0a15b5a1754cd670e6057938 URL: https://github.com/llvm/llvm-project/commit/8da41fe69622f35e0a15b5a1754cd670e6057938 DIFF: https://github.com/llvm/llvm-project/commit/8da41fe69622f35e0a15b5a1754cd670e6057938.di

[libunwind] 603c286 - Bump the trunk major version to 17

2023-01-24 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2023-01-24T22:57:27-08:00 New Revision: 603c286334b07f568d39f6706c848f576914f323 URL: https://github.com/llvm/llvm-project/commit/603c286334b07f568d39f6706c848f576914f323 DIFF: https://github.com/llvm/llvm-project/commit/603c286334b07f568d39f6706c848f576914f323.diff

[clang-tools-extra] 603c286 - Bump the trunk major version to 17

2023-01-24 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2023-01-24T22:57:27-08:00 New Revision: 603c286334b07f568d39f6706c848f576914f323 URL: https://github.com/llvm/llvm-project/commit/603c286334b07f568d39f6706c848f576914f323 DIFF: https://github.com/llvm/llvm-project/commit/603c286334b07f568d39f6706c848f576914f323.diff

[libclc] 409f42b - libclc: Set CMAKE_CXX_STANDARD to 17 to match llvm

2023-01-27 Thread Tom Stellard via cfe-commits
Author: Tom Stellard Date: 2023-01-27T10:50:29-08:00 New Revision: 409f42b10ac6dc1c6a4e68d20ccd3adf6770e238 URL: https://github.com/llvm/llvm-project/commit/409f42b10ac6dc1c6a4e68d20ccd3adf6770e238 DIFF: https://github.com/llvm/llvm-project/commit/409f42b10ac6dc1c6a4e68d20ccd3adf6770e238.diff

<    1   2   3   4   5   6   >