[clang] [flang] [llvm] Fix and reapply IR PGO support for Flang (PR #142892)

2025-06-16 Thread Tarun Prabhu via cfe-commits
tarunprabhu wrote: Thanks for the fix @kiranchandramohan. I didn't spot the issue with `llvm-profdata` https://github.com/llvm/llvm-project/pull/142892 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/list

[clang] [flang] [llvm] Fix and reapply IR PGO support for Flang (PR #142892)

2025-06-16 Thread Kiran Chandramohan via cfe-commits
kiranchandramohan wrote: The test added in this patch is failing since it cannot find llvm-profdata. https://github.com/llvm/llvm-project/actions/runs/15643574721/job/44076443329?pr=144143 Attempting a fix https://github.com/llvm/llvm-project/pull/144325 https://github.com/llvm/llvm-project/pu

[clang] [flang] [llvm] Fix and reapply IR PGO support for Flang (PR #142892)

2025-06-14 Thread Tarun Prabhu via cfe-commits
tarunprabhu wrote: There is a similar build failure [here](https://github.com/llvm/llvm-project/pull/143603) that seems to be even older. I don't think these are related. https://github.com/llvm/llvm-project/pull/142892 ___ cfe-commits mailing list c

[clang] [flang] [llvm] Fix and reapply IR PGO support for Flang (PR #142892)

2025-06-14 Thread via cfe-commits
fanju110 wrote: > Thanks. I'll merge this tomorrow morning (my time), so I can keep an eye on > the buildbots, just in case. Thank you for your help.There is a test-case test that fails, but I don't reproduce the error when I check-flang locally, is this problem normal? Could it be related to

[clang] [flang] [llvm] Fix and reapply IR PGO support for Flang (PR #142892)

2025-06-14 Thread via cfe-commits
fanju110 wrote: > Thanks. I'll merge this tomorrow morning (my time), so I can keep an eye on > the buildbots, just in case. Thanks. I'll merge this tomorrow morning (my time), so I can keep an eye on the buildbots, just in case. Thank you for your help.There is a test-case test that fails, b

[clang] [flang] [llvm] Fix and reapply IR PGO support for Flang (PR #142892)

2025-06-14 Thread via cfe-commits
fanju110 wrote: > Thanks. I'll merge this tomorrow morning (my time), so I can keep an eye on > the buildbots, just in case. Thank you for your help.There is a test-case test that fails, but I don't reproduce the error when I check-flang locally, is this problem normal? Could it be related to

[clang] [flang] [llvm] Fix and reapply IR PGO support for Flang (PR #142892)

2025-06-13 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `flang-aarch64-release` running on `linaro-flang-aarch64-release` while building `clang,flang,llvm` at step 6 "test-build-unified-tree-check-flang". Full details are available at: https://lab.llvm.org/buildbot/#/builders/172/b

[clang] [flang] [llvm] Fix and reapply IR PGO support for Flang (PR #142892)

2025-06-13 Thread Tarun Prabhu via cfe-commits
https://github.com/tarunprabhu closed https://github.com/llvm/llvm-project/pull/142892 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [llvm] Fix and reapply IR PGO support for Flang (PR #142892)

2025-06-12 Thread Tarun Prabhu via cfe-commits
https://github.com/tarunprabhu approved this pull request. Thanks. I'll merge this tomorrow morning (my time), so I can keep an eye on the buildbots, just in case. https://github.com/llvm/llvm-project/pull/142892 ___ cfe-commits mailing list cfe-commi

[clang] [flang] [llvm] Fix and reapply IR PGO support for Flang (PR #142892)

2025-06-12 Thread via cfe-commits
@@ -69,24 +69,24 @@ ProfileList::ProfileList(ArrayRef Paths, SourceManager &SM) ProfileList::~ProfileList() = default; -static StringRef getSectionName(CodeGenOptions::ProfileInstrKind Kind) { +static StringRef getSectionName(llvm::driver::ProfileInstrKind Kind) { switch

[clang] [flang] [llvm] Fix and reapply IR PGO support for Flang (PR #142892)

2025-06-11 Thread via cfe-commits
https://github.com/fanju110 deleted https://github.com/llvm/llvm-project/pull/142892 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [llvm] Fix and reapply IR PGO support for Flang (PR #142892)

2025-06-05 Thread via cfe-commits
fanju110 wrote: > Thanks for the fix and the explanation. I will try this PR out, but it might > take me a day or two. Do you have merge access? If not, I will merge it if > everything passes for me. I don’t have merge access. I’ve run `check-clang`, `check-flang`, and `check-llvm` locally,

[clang] [flang] [llvm] Fix and reapply IR PGO support for Flang (PR #142892)

2025-06-05 Thread Tarun Prabhu via cfe-commits
tarunprabhu wrote: Thanks for the fix and the explanation. I will try this PR out, but it might take me a day or two. Do you have merge access? If not, I will merge it if everything passes for me. https://github.com/llvm/llvm-project/pull/142892 ___

[clang] [flang] [llvm] Fix and reapply IR PGO support for Flang (PR #142892)

2025-06-05 Thread via cfe-commits
https://github.com/fanju110 updated https://github.com/llvm/llvm-project/pull/142892 >From 22ff984bae53f2b51b6046c36077e2eb3a3a2b7c Mon Sep 17 00:00:00 2001 From: fanyikang Date: Thu, 5 Jun 2025 11:24:33 +0800 Subject: [PATCH] Fix and reapply IR PGO support for Flang Fix and reapply IR PGO sup