[llvm-branch-commits] [compiler-rt] PR for llvm/llvm-project#79283 (PR #80068)

2024-02-07 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay approved this pull request. https://github.com/llvm/llvm-project/pull/80068 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] PR for llvm/llvm-project#80961 (PR #80962)

2024-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/80962 resolves llvm/llvm-project#80961 >From 362665f0dcc28a378e6610ae3cdd73dc79e6b272 Mon Sep 17 00:00:00 2001 From: Mariya Podchishchaeva Date: Tue, 6 Feb 2024 15:57:35 +0300 Subject: [PATCH] [clang] Fix unexpected `

[llvm-branch-commits] [clang] PR for llvm/llvm-project#80961 (PR #80962)

2024-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/80962 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] PR for llvm/llvm-project#80961 (PR #80962)

2024-02-07 Thread via llvm-branch-commits
llvmbot wrote: @AaronBallman What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/80962 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/l

[llvm-branch-commits] [clang] PR for llvm/llvm-project#80961 (PR #80962)

2024-02-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (llvmbot) Changes resolves llvm/llvm-project#80961 --- Full diff: https://github.com/llvm/llvm-project/pull/80962.diff 3 Files Affected: - (modified) clang/docs/ReleaseNotes.rst (+4) - (modified) clang/lib/Sema/SemaExpr.cpp (+1-1)

[llvm-branch-commits] [clang] PR for llvm/llvm-project#80961 (PR #80962)

2024-02-07 Thread Aaron Ballman via llvm-branch-commits
https://github.com/AaronBallman approved this pull request. LGTM! https://github.com/llvm/llvm-project/pull/80962 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commit

[llvm-branch-commits] [clang] PR for llvm/llvm-project#80844 (PR #80846)

2024-02-07 Thread Kerry McLaughlin via llvm-branch-commits
https://github.com/kmclaughlin-arm approved this pull request. LGTM. This fix is a low risk change which I think should be included in the release branch. https://github.com/llvm/llvm-project/pull/80846 ___ llvm-branch-commits mailing list llvm-branch

[llvm-branch-commits] [compiler-rt] PR for llvm/llvm-project#81000 (PR #81003)

2024-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/81003 resolves llvm/llvm-project#81000 >From a2bc254a372fe1942dc97957aeef50ba088f6534 Mon Sep 17 00:00:00 2001 From: David CARLIER Date: Wed, 24 Jan 2024 23:07:32 + Subject: [PATCH] [compiler-rt] remove hexdump in

[llvm-branch-commits] [compiler-rt] PR for llvm/llvm-project#81000 (PR #81003)

2024-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/81003 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [compiler-rt] PR for llvm/llvm-project#81000 (PR #81003)

2024-02-07 Thread via llvm-branch-commits
llvmbot wrote: @vitalybuka What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/81003 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/lis

[llvm-branch-commits] [compiler-rt] PR for llvm/llvm-project#81000 (PR #81003)

2024-02-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: None (llvmbot) Changes resolves llvm/llvm-project#81000 --- Full diff: https://github.com/llvm/llvm-project/pull/81003.diff 3 Files Affected: - (modified) compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.in

[llvm-branch-commits] [clang] PR for llvm/llvm-project#80961 (PR #80962)

2024-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/80962 >From 8cc6c5ae8fe649b05abdaf299f04f8ac05a36b58 Mon Sep 17 00:00:00 2001 From: Mariya Podchishchaeva Date: Tue, 6 Feb 2024 15:57:35 +0300 Subject: [PATCH] [clang] Fix unexpected `-Wconstant-logical-operand` in C23

[llvm-branch-commits] [compiler-rt] PR for llvm/llvm-project#80604 (PR #80605)

2024-02-07 Thread Dimitry Andric via llvm-branch-commits
https://github.com/DimitryAndric approved this pull request. https://github.com/llvm/llvm-project/pull/80605 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] CI fixes for release/18.x (PR #80772)

2024-02-07 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/80772 >From e54eaf5a5136628ae8f2bc00c6d769b33dd2c0f0 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 3 Feb 2024 21:37:46 -0800 Subject: [PATCH 1/4] [workflows] Stop using the build-test-llvm-project action (#8

[llvm-branch-commits] [clang] PR for llvm/llvm-project#80619 (PR #80620)

2024-02-07 Thread Dmitri Gribenko via llvm-branch-commits
https://github.com/gribozavr approved this pull request. https://github.com/llvm/llvm-project/pull/80620 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [NFC]Refactor (PR #81024)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 created https://github.com/llvm/llvm-project/pull/81024 None ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [NFC]Extract the heuristic to find vtable for an indirect call into a helper function for re-use (PR #81024)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 edited https://github.com/llvm/llvm-project/pull/81024 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [NFC][IndirectCallProm] Refactor function-based conditional devirtualization and indirect call value profile update into one helper function (PR #80762)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 edited https://github.com/llvm/llvm-project/pull/80762 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [NFC]Extract the heuristic to find vtable for an indirect call into a helper function for re-use (PR #81024)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 edited https://github.com/llvm/llvm-project/pull/81024 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [18.x][Docs] Add release note about Clang-defined target OS macros (PR #80044)

2024-02-07 Thread Zixu Wang via llvm-branch-commits
https://github.com/zixu-w updated https://github.com/llvm/llvm-project/pull/80044 >From f28a33baa2c1457c4e1eca8f484c59a655132f95 Mon Sep 17 00:00:00 2001 From: Zixu Wang <9819235+zix...@users.noreply.github.com> Date: Tue, 30 Jan 2024 09:30:20 -0800 Subject: [PATCH] [Docs] Add release note about

[llvm-branch-commits] [clang] [18.x][Docs] Add release note about Clang-defined target OS macros (PR #80044)

2024-02-07 Thread Zixu Wang via llvm-branch-commits
zixu-w wrote: > Looks like this patch caused the documentation build to fail. Fixed. Thanks for checking @tstellar ! https://github.com/llvm/llvm-project/pull/80044 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.

[llvm-branch-commits] [llvm] [VPlan] Explicitly handle scalar pointer inductions. (PR #80273)

2024-02-07 Thread Florian Hahn via llvm-branch-commits
@@ -857,11 +857,7 @@ void VPlan::execute(VPTransformState *State) { Phi = cast(State->get(R.getVPSingleValue(), 0)); } else { auto *WidenPhi = cast(&R); -// TODO: Split off the case that all users of a pointer phi are scalar -// from the VP

[llvm-branch-commits] [llvm] [VPlan] Explicitly handle scalar pointer inductions. (PR #80273)

2024-02-07 Thread Florian Hahn via llvm-branch-commits
@@ -537,6 +542,30 @@ void VPlanTransforms::optimizeInductions(VPlan &Plan, ScalarEvolution &SE) { bool HasOnlyVectorVFs = !Plan.hasVF(ElementCount::getFixed(1)); VPBasicBlock::iterator InsertPt = HeaderVPBB->getFirstNonPhi(); for (VPRecipeBase &Phi : HeaderVPBB->phis())

[llvm-branch-commits] [llvm] [VPlan] Explicitly handle scalar pointer inductions. (PR #80273)

2024-02-07 Thread Florian Hahn via llvm-branch-commits
@@ -489,6 +490,23 @@ Value *VPInstruction::generateInstruction(VPTransformState &State, return ReducedPartRdx; } + case VPInstruction::PtrAdd: { +if (vputils::onlyFirstLaneUsed(this)) { + auto *P = Builder.CreatePtrAdd( + State.get(getOperand(0), VPIt

[llvm-branch-commits] [llvm] [VPlan] Explicitly handle scalar pointer inductions. (PR #80273)

2024-02-07 Thread Florian Hahn via llvm-branch-commits
@@ -546,9 +575,10 @@ void VPlanTransforms::optimizeInductions(VPlan &Plan, ScalarEvolution &SE) { continue; const InductionDescriptor &ID = WideIV->getInductionDescriptor(); -VPValue *Steps = createScalarIVSteps(Plan, ID, SE, WideIV->getTruncInst(), -

[llvm-branch-commits] [llvm] [VPlan] Explicitly handle scalar pointer inductions. (PR #80273)

2024-02-07 Thread Florian Hahn via llvm-branch-commits
@@ -2503,6 +2504,12 @@ class VPDerivedIVRecipe : public VPSingleDefRecipe { dyn_cast_or_null(IndDesc.getInductionBinOp()), Start, CanonicalIV, Step) {} + VPDerivedIVRecipe(InductionDescriptor::InductionKind Kind, VPValue *Start, +VP

[llvm-branch-commits] [llvm] [VPlan] Explicitly handle scalar pointer inductions. (PR #80273)

2024-02-07 Thread Florian Hahn via llvm-branch-commits
@@ -515,6 +533,8 @@ void VPInstruction::execute(VPTransformState &State) { State.Builder.setFastMathFlags(getFastMathFlags()); for (unsigned Part = 0; Part < State.UF; ++Part) { Value *GeneratedValue = generateInstruction(State, Part); +if (!GeneratedValue) +

[llvm-branch-commits] [llvm] [VPlan] Explicitly handle scalar pointer inductions. (PR #80273)

2024-02-07 Thread Florian Hahn via llvm-branch-commits
@@ -537,6 +542,30 @@ void VPlanTransforms::optimizeInductions(VPlan &Plan, ScalarEvolution &SE) { bool HasOnlyVectorVFs = !Plan.hasVF(ElementCount::getFixed(1)); VPBasicBlock::iterator InsertPt = HeaderVPBB->getFirstNonPhi(); for (VPRecipeBase &Phi : HeaderVPBB->phis())

[llvm-branch-commits] [llvm] [VPlan] Explicitly handle scalar pointer inductions. (PR #80273)

2024-02-07 Thread Florian Hahn via llvm-branch-commits
@@ -489,15 +489,18 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { } } -static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, +static VPValue *createScalarIVSteps(VPlan &Plan, +InductionDescriptor::Induc

[llvm-branch-commits] [llvm] [VPlan] Explicitly handle scalar pointer inductions. (PR #80273)

2024-02-07 Thread Florian Hahn via llvm-branch-commits
@@ -515,6 +533,8 @@ void VPInstruction::execute(VPTransformState &State) { State.Builder.setFastMathFlags(getFastMathFlags()); for (unsigned Part = 0; Part < State.UF; ++Part) { Value *GeneratedValue = generateInstruction(State, Part); +if (!GeneratedValue) +

[llvm-branch-commits] [llvm] [VPlan] Explicitly handle scalar pointer inductions. (PR #80273)

2024-02-07 Thread Florian Hahn via llvm-branch-commits
@@ -537,6 +542,30 @@ void VPlanTransforms::optimizeInductions(VPlan &Plan, ScalarEvolution &SE) { bool HasOnlyVectorVFs = !Plan.hasVF(ElementCount::getFixed(1)); VPBasicBlock::iterator InsertPt = HeaderVPBB->getFirstNonPhi(); for (VPRecipeBase &Phi : HeaderVPBB->phis())

[llvm-branch-commits] [InstrProf] (PR #81051)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 created https://github.com/llvm/llvm-project/pull/81051 None ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [InstrProf] Add vtables with type metadata into symtab to look it up with GUID (PR #81051)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 edited https://github.com/llvm/llvm-project/pull/81051 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [InstrProf] Add vtables with type metadata into symtab to look it up with GUID (PR #81051)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 edited https://github.com/llvm/llvm-project/pull/81051 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [NFC][IndirectCallProm] Refactor function-based conditional devirtualization and indirect call value profile update into one helper function (PR #80762)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 edited https://github.com/llvm/llvm-project/pull/80762 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [NFC]Extract the heuristic to find vtable for an indirect call into a helper function (PR #81024)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 edited https://github.com/llvm/llvm-project/pull/81024 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [NFC]Extract the heuristic to find vtable for an indirect call into a helper function (PR #81024)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 edited https://github.com/llvm/llvm-project/pull/81024 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [NFC][IndirectCallProm] Refactor function-based conditional devirtualization and indirect call value profile update into one helper function (PR #80762)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 edited https://github.com/llvm/llvm-project/pull/80762 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [InstrProf] Add vtables with type metadata into symtab to look it up with GUID (PR #81051)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
@@ -1628,6 +1664,17 @@ TEST(SymtabTest, instr_prof_symtab_module_test) { EXPECT_EQ(StringRef(PGOName), PGOFuncName); EXPECT_THAT(PGOFuncName.str(), EndsWith(Funcs[I].str())); } + + StringRef VTables[] = {"ExternalGV", "PrivateGV"}; + for (size_t I = 0; I < std::size

[llvm-branch-commits] [InstrProf] Add vtables with type metadata into symtab to look it up with GUID (PR #81051)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 ready_for_review https://github.com/llvm/llvm-project/pull/81051 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [InstrProf] Add vtables with type metadata into symtab to look it up with GUID (PR #81051)

2024-02-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-pgo Author: Mingming Liu (minglotus-6) Changes * The parent patch is https://github.com/llvm/llvm-project/pull/81024 --- Full diff: https://github.com/llvm/llvm-project/pull/81051.diff 3 Files Affected: - (modified) llvm/include/llvm/ProfileData/Inst

[llvm-branch-commits] [NFC][IndirectCallProm] Refactor function-based conditional devirtualization and indirect call value profile update into one helper function (PR #80762)

2024-02-07 Thread Teresa Johnson via llvm-branch-commits
@@ -1260,6 +1260,8 @@ void annotateValueSite(Module &M, Instruction &Inst, ArrayRef VDs, uint64_t Sum, InstrProfValueKind ValueKind, uint32_t MaxMDCount) { + if (VDs.empty()) teresajohnson wr

[llvm-branch-commits] [NFC][IndirectCallProm] Refactor function-based conditional devirtualization and indirect call value profile update into one helper function (PR #80762)

2024-02-07 Thread Teresa Johnson via llvm-branch-commits
@@ -1260,6 +1260,8 @@ void annotateValueSite(Module &M, Instruction &Inst, ArrayRef VDs, uint64_t Sum, InstrProfValueKind ValueKind, uint32_t MaxMDCount) { + if (VDs.empty()) teresajohnson wr

[llvm-branch-commits] [NFC][IndirectCallProm] Refactor function-based conditional devirtualization and indirect call value profile update into one helper function (PR #80762)

2024-02-07 Thread Teresa Johnson via llvm-branch-commits
@@ -287,7 +290,18 @@ uint32_t IndirectCallPromoter::tryToPromote( NumOfPGOICallPromotion++; NumPromoted++; } - return NumPromoted; + + const bool Changed = (NumPromoted != 0); teresajohnson wrote: Just return false early if NumPromoted is 0 (then C

[llvm-branch-commits] [llvm] CI fixes for release/18.x (PR #80772)

2024-02-07 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/80772 >From aa9e739cf5d6ea362fdbc28ec97bcf71e81fa3b7 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 3 Feb 2024 21:37:46 -0800 Subject: [PATCH 1/4] [workflows] Stop using the build-test-llvm-project action (#8

[llvm-branch-commits] [NFC]Extract the heuristic to find vtable for an indirect call into a helper function (PR #81024)

2024-02-07 Thread Teresa Johnson via llvm-branch-commits
https://github.com/teresajohnson approved this pull request. https://github.com/llvm/llvm-project/pull/81024 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [NFC] (PR #80762)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 updated https://github.com/llvm/llvm-project/pull/80762 >From 2a03c530e775faa79d2e800a38a4228b38dfea35 Mon Sep 17 00:00:00 2001 From: mingmingl Date: Wed, 7 Feb 2024 18:20:51 -0800 Subject: [PATCH] resolve review feedback Created using spr 1.3.4 --- .../Instrume

[llvm-branch-commits] [llvm] [NFC] (PR #80762)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 edited https://github.com/llvm/llvm-project/pull/80762 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [NFC] (PR #80762)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
@@ -287,7 +290,18 @@ uint32_t IndirectCallPromoter::tryToPromote( NumOfPGOICallPromotion++; NumPromoted++; } - return NumPromoted; + + const bool Changed = (NumPromoted != 0); minglotus-6 wrote: done. https://github.com/llvm/llvm-project/pull/8076

[llvm-branch-commits] [llvm] [NFC] (PR #80762)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
@@ -1260,6 +1260,8 @@ void annotateValueSite(Module &M, Instruction &Inst, ArrayRef VDs, uint64_t Sum, InstrProfValueKind ValueKind, uint32_t MaxMDCount) { + if (VDs.empty()) minglotus-6 wrot

[llvm-branch-commits] [llvm] [NFC] (PR #80762)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 ready_for_review https://github.com/llvm/llvm-project/pull/80762 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [NFC]Extract the heuristic to find vtable for an indirect call into a helper function (PR #81024)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 ready_for_review https://github.com/llvm/llvm-project/pull/81024 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [NFC] (PR #80762)

2024-02-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms @llvm/pr-subscribers-pgo Author: Mingming Liu (minglotus-6) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/80762.diff 3 Files Affected: - (modified) llvm/include/llvm/ProfileData/InstrProf.h (+2) - (modified) llvm/

[llvm-branch-commits] [NFC]Extract the heuristic to find vtable for an indirect call into a helper function (PR #81024)

2024-02-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis Author: Mingming Liu (minglotus-6) Changes * This way the helper function could be re-used by indirect-call-promotion pass to find out the vtable for an indirect call and extract the value profiles if any. * The parent patch is https://gi

[llvm-branch-commits] [llvm] [NFC] (PR #80762)

2024-02-07 Thread Teresa Johnson via llvm-branch-commits
https://github.com/teresajohnson approved this pull request. https://github.com/llvm/llvm-project/pull/80762 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [NFC][IndirectCallProm] Refactor function-based conditional devirtualization and indirect call value profile update into one helper function (PR #80762)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 edited https://github.com/llvm/llvm-project/pull/80762 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [NFC][IndirectCallProm] Refactor function-based conditional devirtualization and indirect call value profile update into one helper function (PR #80762)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 edited https://github.com/llvm/llvm-project/pull/80762 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libunwind] PR for llvm/llvm-project#81084 (PR #81085)

2024-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/81085 resolves llvm/llvm-project#81084 >From e6c6fe1a84fff2014be2b8f91f8905f109a15f0f Mon Sep 17 00:00:00 2001 From: YunQiang Su Date: Thu, 8 Feb 2024 09:15:53 +0800 Subject: [PATCH] MIPS/libunwind: Use -mfp64 if comp

[llvm-branch-commits] [libunwind] PR for llvm/llvm-project#81084 (PR #81085)

2024-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/81085 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libunwind] PR for llvm/llvm-project#81084 (PR #81085)

2024-02-07 Thread via llvm-branch-commits
llvmbot wrote: @MaskRay What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/81085 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listin

[llvm-branch-commits] [libunwind] PR for llvm/llvm-project#81084 (PR #81085)

2024-02-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libunwind Author: None (llvmbot) Changes resolves llvm/llvm-project#81084 --- Full diff: https://github.com/llvm/llvm-project/pull/81085.diff 1 Files Affected: - (modified) libunwind/CMakeLists.txt (+19) ``diff diff --git a/libunwind/CMake

[llvm-branch-commits] [InstrProf] Add vtables with type metadata into symtab to look it up with GUID (PR #81051)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 updated https://github.com/llvm/llvm-project/pull/81051 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libunwind] PR for llvm/llvm-project#81084 (PR #81085)

2024-02-07 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay approved this pull request. https://github.com/llvm/llvm-project/pull/81085 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [InstrProf] Add vtables with type metadata into symtab to look it up with GUID (PR #81051)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 updated https://github.com/llvm/llvm-project/pull/81051 >From a3cb7002be9d7efe9f7678911da9dd68b561b785 Mon Sep 17 00:00:00 2001 From: mingmingl Date: Wed, 7 Feb 2024 22:18:50 -0800 Subject: [PATCH] fixup --- llvm/include/llvm/ProfileData/InstrProf.h| 11 +---

[llvm-branch-commits] [llvm] [InstrProf] Add vtables with type metadata into symtab to look it up with GUID (PR #81051)

2024-02-07 Thread Mingming Liu via llvm-branch-commits
https://github.com/minglotus-6 updated https://github.com/llvm/llvm-project/pull/81051 >From 58f8fdbc9d2862a2579aece6c313bd19b4329e34 Mon Sep 17 00:00:00 2001 From: mingmingl Date: Wed, 7 Feb 2024 23:07:36 -0800 Subject: [PATCH] [InstrProf] Add vtables with type metadata into symtab to look it

[llvm-branch-commits] [clang] PR for llvm/llvm-project#80628 (PR #81096)

2024-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/81096 resolves llvm/llvm-project#80628 >From 6ca7c502d1e196603d838950909b00734319280c Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Wed, 7 Feb 2024 21:35:43 -0800 Subject: [PATCH] [clang-format] Fix a regression in du

[llvm-branch-commits] [clang] PR for llvm/llvm-project#80628 (PR #81096)

2024-02-07 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/81096 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] PR for llvm/llvm-project#80628 (PR #81096)

2024-02-07 Thread via llvm-branch-commits
llvmbot wrote: @owenca What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/81096 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinf

[llvm-branch-commits] [clang] PR for llvm/llvm-project#80628 (PR #81096)

2024-02-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: None (llvmbot) Changes resolves llvm/llvm-project#80628 --- Full diff: https://github.com/llvm/llvm-project/pull/81096.diff 3 Files Affected: - (modified) clang/test/Format/dump-config-objc-stdin.m (+3) - (modified) clang/test/F