[clang] [Fuchsia] Support PGO (PR #128680)

2025-03-17 Thread Petr Hosek via cfe-commits
https://github.com/petrhosek updated https://github.com/llvm/llvm-project/pull/128680 >From 0662cddc6837c281c102995e2789bb0f81adb415 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Fri, 7 Feb 2025 08:49:18 -0800 Subject: [PATCH 1/3] [Fuchsia] Support PGO Enable 2-stage builds with PGO. --- ..

[clang] [Fuchsia] Support PGO (PR #128680)

2025-03-14 Thread Paul Kirth via cfe-commits
@@ -165,33 +175,57 @@ endif() set(BOOTSTRAP_LLVM_ENABLE_LLD ON CACHE BOOL "") set(BOOTSTRAP_LLVM_ENABLE_LTO ON CACHE BOOL "") -set(_FUCHSIA_BOOTSTRAP_TARGETS - check-all - check-clang - check-lld - check-llvm - check-polly - llvm-config - clang-test-depends - lld-test-

[clang] [Fuchsia] Support PGO (PR #128680)

2025-03-14 Thread Paul Kirth via cfe-commits
@@ -165,33 +175,57 @@ endif() set(BOOTSTRAP_LLVM_ENABLE_LLD ON CACHE BOOL "") set(BOOTSTRAP_LLVM_ENABLE_LTO ON CACHE BOOL "") -set(_FUCHSIA_BOOTSTRAP_TARGETS - check-all - check-clang - check-lld - check-llvm - check-polly - llvm-config - clang-test-depends - lld-test-

[clang] [Fuchsia] Support PGO (PR #128680)

2025-02-26 Thread Petr Hosek via cfe-commits
petrhosek wrote: > LGTM. This seems to work locally for me, but I haven't tested w/ cross > compiling. Is that still potentially an issue? It's not addressed since that's going to require more changes, I assume we'll disable PGO on cross-compiling builders by not setting `FUCHSIA_ENABLE_PGO`.

[clang] [Fuchsia] Support PGO (PR #128680)

2025-02-25 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi approved this pull request. LGTM. This seems to work locally for me, but I haven't tested w/ cross compiling. Is that still potentially an issue? https://github.com/llvm/llvm-project/pull/128680 ___ cfe-commits mailing list

[clang] [Fuchsia] Support PGO (PR #128680)

2025-02-25 Thread Petr Hosek via cfe-commits
https://github.com/petrhosek created https://github.com/llvm/llvm-project/pull/128680 Enable 2-stage builds with PGO. >From 0662cddc6837c281c102995e2789bb0f81adb415 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Fri, 7 Feb 2025 08:49:18 -0800 Subject: [PATCH 1/2] [Fuchsia] Support PGO Enable

[clang] [Fuchsia] Support PGO (PR #128680)

2025-02-25 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Petr Hosek (petrhosek) Changes Enable 2-stage builds with PGO. --- Full diff: https://github.com/llvm/llvm-project/pull/128680.diff 2 Files Affected: - (added) clang/cmake/caches/Fuchsia-stage2-instrumented.cmake (+44) - (modified) cla

[clang] [Fuchsia] Support PGO (PR #128680)

2025-02-25 Thread Petr Hosek via cfe-commits
https://github.com/petrhosek updated https://github.com/llvm/llvm-project/pull/128680 >From 0662cddc6837c281c102995e2789bb0f81adb415 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Fri, 7 Feb 2025 08:49:18 -0800 Subject: [PATCH 1/2] [Fuchsia] Support PGO Enable 2-stage builds with PGO. --- ..