[Lldb-commits] [lld] [polly] [openmp] [llvm] [flang] [clang] [mlir] [compiler-rt] [lldb] [VPlan] Compute scalable VF in preheader for induction increment. (PR #74762)

2023-12-08 Thread Florian Hahn via lldb-commits
@@ -340,8 +340,13 @@ Value *VPInstruction::generateInstruction(VPTransformState &State, auto *Phi = State.get(getOperand(0), 0); // The loop step is equal to the vectorization factor (num of SIMD // elements) times the unroll factor (num of SIMD instructions)

[Lldb-commits] [flang] [lldb] [mlir] [polly] [openmp] [compiler-rt] [lld] [clang] [llvm] [VPlan] Compute scalable VF in preheader for induction increment. (PR #74762)

2023-12-08 Thread Florian Hahn via lldb-commits
https://github.com/fhahn closed https://github.com/llvm/llvm-project/pull/74762 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [llvm] [flang] [lld] [polly] [lldb] [openmp] [clang] [compiler-rt] [mlir] [VPlan] Initial modeling of VF * UF as VPValue. (PR #74761)

2023-12-08 Thread Florian Hahn via lldb-commits
https://github.com/fhahn edited https://github.com/llvm/llvm-project/pull/74761 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [compiler-rt] [openmp] [lldb] [polly] [mlir] [lld] [llvm] [clang] [flang] [VPlan] Initial modeling of VF * UF as VPValue. (PR #74761)

2023-12-08 Thread Florian Hahn via lldb-commits
https://github.com/fhahn closed https://github.com/llvm/llvm-project/pull/74761 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [clang] [openmp] [polly] [flang] [mlir] [compiler-rt] [llvm] [lld] [VPlan] Compute scalable VF in preheader for induction increment. (PR #74762)

2023-12-09 Thread Florian Hahn via lldb-commits
https://github.com/fhahn edited https://github.com/llvm/llvm-project/pull/74762 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [clang] [openmp] [polly] [flang] [mlir] [compiler-rt] [llvm] [lld] [VPlan] Compute scalable VF in preheader for induction increment. (PR #74762)

2023-12-09 Thread Florian Hahn via lldb-commits
@@ -340,8 +340,14 @@ Value *VPInstruction::generateInstruction(VPTransformState &State, auto *Phi = State.get(getOperand(0), 0); // The loop step is equal to the vectorization factor (num of SIMD // elements) times the unroll factor (num of SIMD instructions)

[Lldb-commits] [clang-tools-extra] [llvm] [clang] [flang] [lldb] [IndVars] Add check of loop invariant for trunc instructions (PR #71072)

2023-12-19 Thread Florian Hahn via lldb-commits
fhahn wrote: Looks like this is causing #75938. Please take a look https://github.com/llvm/llvm-project/pull/71072 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [llvm] [lldb] [clang-tools-extra] [flang] [clang] [IndVars] Add check of loop invariant for trunc instructions (PR #71072)

2023-12-20 Thread Florian Hahn via lldb-commits
fhahn wrote: @markoshorro Great thanks. Please revert the patch if you won't be able to fix this today. https://github.com/llvm/llvm-project/pull/71072 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/li

[Lldb-commits] [clang-tools-extra] [libc] [lld] [libcxx] [llvm] [clang] [flang] [lldb] [compiler-rt] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-20 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/73158 >From 13a26e8e7440c3b501730b22588af393a3e543cd Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Thu, 6 Jul 2023 08:07:45 +0100 Subject: [PATCH] [VPlan] Implement cloning of VPlans. This patch implements cloning fo

[Lldb-commits] [lldb] [lld] [llvm] [libcxx] [flang] [compiler-rt] [clang-tools-extra] [libc] [clang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/73158 >From 13a26e8e7440c3b501730b22588af393a3e543cd Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Thu, 6 Jul 2023 08:07:45 +0100 Subject: [PATCH 1/2] [VPlan] Implement cloning of VPlans. This patch implements clonin

[Lldb-commits] [lldb] [lld] [llvm] [libcxx] [flang] [compiler-rt] [clang-tools-extra] [libc] [clang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/73158 >From 13a26e8e7440c3b501730b22588af393a3e543cd Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Thu, 6 Jul 2023 08:07:45 +0100 Subject: [PATCH 1/2] [VPlan] Implement cloning of VPlans. This patch implements clonin

[Lldb-commits] [llvm] [libcxx] [compiler-rt] [lldb] [clang] [libc] [lld] [clang-tools-extra] [flang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -982,6 +994,65 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapVPValues(VPBasicBlock *OldBB, VPBasicBlock *NewBB, + DenseMap &Old2NewV

[Lldb-commits] [lldb] [lld] [llvm] [libcxx] [flang] [compiler-rt] [clang-tools-extra] [libc] [clang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
https://github.com/fhahn edited https://github.com/llvm/llvm-project/pull/73158 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [libcxx] [clang-tools-extra] [lld] [clang] [flang] [libc] [compiler-rt] [llvm] [lldb] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -1200,6 +1271,59 @@ void VPUser::printOperands(raw_ostream &O, VPSlotTracker &SlotTracker) const { } #endif +VPBlockBase *VPBlockUtils::cloneCFG( +VPBlockBase *Entry, DenseMap &Old2New, +DenseMap &Old2NewVPValues, bool FullRemapping) { + ReversePostOrderTraversal>

[Lldb-commits] [lld] [flang] [llvm] [lldb] [clang-tools-extra] [clang] [libc] [compiler-rt] [libcxx] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -982,6 +994,65 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapVPValues(VPBasicBlock *OldBB, VPBasicBlock *NewBB, + DenseMap &Old2NewV

[Lldb-commits] [clang] [lldb] [llvm] [libcxx] [lld] [flang] [libc] [compiler-rt] [clang-tools-extra] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -982,6 +994,65 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapVPValues(VPBasicBlock *OldBB, VPBasicBlock *NewBB, + DenseMap &Old2NewV

[Lldb-commits] [libcxx] [compiler-rt] [clang] [libc] [flang] [clang-tools-extra] [llvm] [lld] [lldb] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -615,6 +615,18 @@ void VPBasicBlock::print(raw_ostream &O, const Twine &Indent, } #endif +VPBlockBase *VPRegionBlock::clone() { + DenseMap Old2New; + DenseMap Old2NewVPValues; + VPBlockBase *NewEntry = + VPBlockUtils::cloneCFG(Entry, Old2New, Old2NewVPValues); + a

[Lldb-commits] [libcxx] [lld] [clang-tools-extra] [libc] [compiler-rt] [llvm] [lldb] [flang] [clang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -1200,6 +1271,59 @@ void VPUser::printOperands(raw_ostream &O, VPSlotTracker &SlotTracker) const { } #endif +VPBlockBase *VPBlockUtils::cloneCFG( +VPBlockBase *Entry, DenseMap &Old2New, +DenseMap &Old2NewVPValues, bool FullRemapping) { + ReversePostOrderTraversal>

[Lldb-commits] [llvm] [lldb] [compiler-rt] [lld] [libc] [libcxx] [clang] [flang] [clang-tools-extra] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -1594,6 +1657,13 @@ class VPWidenPHIRecipe : public VPHeaderPHIRecipe { addOperand(Start); } + VPRecipeBase *clone() override { +auto *Res = new VPWidenPHIRecipe(cast(getUnderlyingInstr()), fhahn wrote: Yep https://github.com/llvm/llvm-projec

[Lldb-commits] [libcxx] [flang] [llvm] [libc] [lld] [clang-tools-extra] [compiler-rt] [lldb] [clang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -1200,6 +1271,59 @@ void VPUser::printOperands(raw_ostream &O, VPSlotTracker &SlotTracker) const { } #endif +VPBlockBase *VPBlockUtils::cloneCFG( +VPBlockBase *Entry, DenseMap &Old2New, +DenseMap &Old2NewVPValues, bool FullRemapping) { + ReversePostOrderTraversal>

[Lldb-commits] [libcxx] [lld] [compiler-rt] [libc] [clang-tools-extra] [llvm] [flang] [clang] [lldb] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -2262,9 +2400,22 @@ class VPDerivedIVRecipe : public VPRecipeBase, public VPValue { VPValue(this), TruncResultTy(TruncResultTy), Kind(IndDesc.getKind()), FPBinOp(dyn_cast_or_null(IndDesc.getInductionBinOp())) { } fhahn wrote: Updated, th

[Lldb-commits] [clang] [flang] [lld] [lldb] [llvm] [libcxx] [compiler-rt] [clang-tools-extra] [libc] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -615,6 +615,18 @@ void VPBasicBlock::print(raw_ostream &O, const Twine &Indent, } #endif +VPBlockBase *VPRegionBlock::clone() { fhahn wrote: Updated, thanks! Also removed `VPBlockBase::clone` and moved to static functions, as without remapping it is not

[Lldb-commits] [clang-tools-extra] [lldb] [flang] [libc] [lld] [llvm] [libcxx] [clang] [compiler-rt] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -2262,9 +2400,22 @@ class VPDerivedIVRecipe : public VPRecipeBase, public VPValue { VPValue(this), TruncResultTy(TruncResultTy), Kind(IndDesc.getKind()), FPBinOp(dyn_cast_or_null(IndDesc.getInductionBinOp())) { } + VPDerivedIVRecipe(InductionDescriptor::

[Lldb-commits] [clang-tools-extra] [flang] [libc] [libcxx] [lldb] [compiler-rt] [llvm] [clang] [lld] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -982,6 +994,65 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapVPValues(VPBasicBlock *OldBB, VPBasicBlock *NewBB, + DenseMap &Old2NewV

[Lldb-commits] [flang] [llvm] [compiler-rt] [clang] [clang-tools-extra] [libc] [lld] [lldb] [libcxx] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -982,6 +994,65 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapVPValues(VPBasicBlock *OldBB, VPBasicBlock *NewBB, + DenseMap &Old2NewV

[Lldb-commits] [libc] [llvm] [compiler-rt] [clang] [lld] [clang-tools-extra] [flang] [lldb] [libcxx] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -615,6 +615,18 @@ void VPBasicBlock::print(raw_ostream &O, const Twine &Indent, } #endif +VPBlockBase *VPRegionBlock::clone() { + DenseMap Old2New; fhahn wrote: Renamed, thanks! https://github.com/llvm/llvm-project/pull/73158 ___

[Lldb-commits] [libcxx] [lld] [clang-tools-extra] [compiler-rt] [llvm] [libc] [clang] [lldb] [flang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -982,6 +994,65 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapVPValues(VPBasicBlock *OldBB, VPBasicBlock *NewBB, + DenseMap &Old2NewV

[Lldb-commits] [lld] [llvm] [clang-tools-extra] [lldb] [libcxx] [flang] [clang] [libc] [compiler-rt] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -2807,6 +2976,8 @@ class VPlan { VPBasicBlock *getPreheader() { return Preheader; } const VPBasicBlock *getPreheader() const { return Preheader; } fhahn wrote: Done, thanks! https://github.com/llvm/llvm-project/pull/73158 _

[Lldb-commits] [lld] [llvm] [compiler-rt] [libc] [clang] [lldb] [clang-tools-extra] [libcxx] [flang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -982,6 +994,65 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapVPValues(VPBasicBlock *OldBB, VPBasicBlock *NewBB, + DenseMap &Old2NewV

[Lldb-commits] [clang] [libc] [clang-tools-extra] [llvm] [lldb] [lld] [compiler-rt] [libcxx] [flang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -982,6 +994,65 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapVPValues(VPBasicBlock *OldBB, VPBasicBlock *NewBB, + DenseMap &Old2NewV

[Lldb-commits] [libc] [libcxx] [lld] [compiler-rt] [clang-tools-extra] [llvm] [clang] [lldb] [flang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-21 Thread Florian Hahn via lldb-commits
@@ -10078,7 +10078,7 @@ bool LoopVectorizePass::processLoop(Loop *L) { EpilogueVectorizerMainLoop MainILV(L, PSE, LI, DT, TLI, TTI, AC, ORE, EPI, &LVL, &CM, BFI, PSI, Checks); -VPlan &BestMainPlan = LVP.getBestPlanFor(

[Lldb-commits] [libcxx] [compiler-rt] [llvm] [lld] [libcxxabi] [libc] [flang] [lldb] [clang-tools-extra] [libclc] [clang] [VPlan] Add new VPUniformPerUFRecipe, use for step truncation. (PR #78113)

2024-01-22 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/78113 >From 36b085f21b76d7bf7c9965a86a09d1cef4fe9329 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Sun, 14 Jan 2024 14:13:08 + Subject: [PATCH 1/4] [VPlan] Add new VPUniformPerUFRecipe, use for step truncation.

[Lldb-commits] [flang] [lld] [libc] [clang-tools-extra] [libclc] [clang] [libcxx] [libcxxabi] [llvm] [lldb] [compiler-rt] [VPlan] Add new VPUniformPerUFRecipe, use for step truncation. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/78113 >From 36b085f21b76d7bf7c9965a86a09d1cef4fe9329 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Sun, 14 Jan 2024 14:13:08 + Subject: [PATCH 1/5] [VPlan] Add new VPUniformPerUFRecipe, use for step truncation.

[Lldb-commits] [libc] [compiler-rt] [libclc] [lldb] [clang-tools-extra] [flang] [libcxx] [libcxxabi] [llvm] [lld] [clang] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn edited https://github.com/llvm/llvm-project/pull/78113 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [libcxx] [libcxxabi] [clang] [flang] [lldb] [llvm] [libclc] [clang-tools-extra] [compiler-rt] [libc] [lld] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn edited https://github.com/llvm/llvm-project/pull/78113 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [libcxx] [libcxxabi] [clang] [flang] [lldb] [llvm] [libclc] [clang-tools-extra] [compiler-rt] [libc] [lld] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/78113 >From 36b085f21b76d7bf7c9965a86a09d1cef4fe9329 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Sun, 14 Jan 2024 14:13:08 + Subject: [PATCH 1/6] [VPlan] Add new VPUniformPerUFRecipe, use for step truncation.

[Lldb-commits] [libc] [compiler-rt] [libclc] [lldb] [clang-tools-extra] [flang] [libcxx] [libcxxabi] [llvm] [lld] [clang] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -1469,6 +1461,52 @@ void VPReplicateRecipe::print(raw_ostream &O, const Twine &Indent, } #endif +static bool isUniformAcrossVFsAndUFs(VPScalarCastRecipe *C) { fhahn wrote: Added comment + TODO, thanks! https://github.com/llvm/llvm-project/pull/78113

[Lldb-commits] [compiler-rt] [lldb] [flang] [libc] [libcxxabi] [llvm] [lld] [libcxx] [clang] [libclc] [clang-tools-extra] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -230,7 +230,11 @@ Type *VPTypeAnalysis::inferScalarType(const VPValue *V) { return V->getUnderlyingValue()->getType(); }) .Case( - [](const VPWidenCastRecipe *R) { return R->getResultType(); }); + [](const VPWidenCast

[Lldb-commits] [libcxx] [libcxxabi] [clang] [flang] [lldb] [llvm] [libclc] [clang-tools-extra] [compiler-rt] [libc] [lld] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn edited https://github.com/llvm/llvm-project/pull/78113 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [llvm] [flang] [libc] [lld] [libclc] [libcxx] [lldb] [clang] [clang-tools-extra] [libcxxabi] [compiler-rt] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn commented: Comments should be addressed and title & description updated, thanks! https://github.com/llvm/llvm-project/pull/78113 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/l

[Lldb-commits] [libclc] [libcxx] [libcxxabi] [llvm] [clang-tools-extra] [flang] [libc] [compiler-rt] [lldb] [lld] [clang] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -1469,6 +1461,52 @@ void VPReplicateRecipe::print(raw_ostream &O, const Twine &Indent, } #endif +static bool isUniformAcrossVFsAndUFs(VPScalarCastRecipe *C) { + return C->isDefinedOutsideVectorRegions() || + isa(C->getOperand(0)) || + isa(C->getOperand(0))

[Lldb-commits] [libcxx] [lld] [lldb] [flang] [compiler-rt] [llvm] [libcxxabi] [libclc] [clang] [libc] [clang-tools-extra] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -498,10 +498,34 @@ static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, VPCanonicalIVPHIRecipe *CanonicalIV = Plan.getCanonicalIV(); Type *TruncTy = TruncI ? TruncI->getType() : IVTy; VPValue *BaseIV = CanonicalIV; fhahn wro

[Lldb-commits] [llvm] [libc] [lld] [libcxxabi] [clang-tools-extra] [clang] [flang] [compiler-rt] [libclc] [libcxx] [lldb] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/78113 >From 36b085f21b76d7bf7c9965a86a09d1cef4fe9329 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Sun, 14 Jan 2024 14:13:08 + Subject: [PATCH 1/7] [VPlan] Add new VPUniformPerUFRecipe, use for step truncation.

[Lldb-commits] [libcxxabi] [lld] [lldb] [flang] [libc] [llvm] [compiler-rt] [libclc] [clang] [libcxx] [clang-tools-extra] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -491,19 +491,41 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[Lldb-commits] [lld] [libc] [lldb] [compiler-rt] [libcxx] [flang] [libclc] [libcxxabi] [clang-tools-extra] [clang] [llvm] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn commented: Address latest comments, thanks! https://github.com/llvm/llvm-project/pull/78113 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [libcxxabi] [lldb] [clang-tools-extra] [libc] [flang] [llvm] [compiler-rt] [libclc] [libcxx] [lld] [clang] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -491,19 +491,41 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[Lldb-commits] [llvm] [clang-tools-extra] [libc] [lldb] [compiler-rt] [libclc] [libcxx] [libcxxabi] [clang] [flang] [lld] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -491,19 +491,41 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[Lldb-commits] [llvm] [libc] [lld] [libcxxabi] [clang-tools-extra] [clang] [flang] [compiler-rt] [libclc] [libcxx] [lldb] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn edited https://github.com/llvm/llvm-project/pull/78113 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [flang] [llvm] [clang-tools-extra] [libclc] [compiler-rt] [libcxxabi] [clang] [lldb] [lld] [libcxx] [libc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -859,6 +859,7 @@ class VPSingleDefRecipe : public VPRecipeBase, public VPValue { case VPRecipeBase::VPWidenIntOrFpInductionSC: case VPRecipeBase::VPWidenPointerInductionSC: case VPRecipeBase::VPReductionPHISC: +case VPRecipeBase::VPScalarCastSC:

[Lldb-commits] [libcxxabi] [lldb] [clang-tools-extra] [llvm] [libcxx] [libc] [libclc] [lld] [compiler-rt] [flang] [clang] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -491,19 +491,41 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[Lldb-commits] [lldb] [clang-tools-extra] [compiler-rt] [llvm] [libcxxabi] [libclc] [libc] [lld] [clang] [libcxx] [flang] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -1469,6 +1461,52 @@ void VPReplicateRecipe::print(raw_ostream &O, const Twine &Indent, } #endif +static bool isUniformAcrossVFsAndUFs(VPScalarCastRecipe *C) { + return C->isDefinedOutsideVectorRegions() || + isa(C->getOperand(0)) || + isa(C->getOperand(0))

[Lldb-commits] [flang] [llvm] [compiler-rt] [libcxx] [libclc] [libcxxabi] [lldb] [clang-tools-extra] [libc] [lld] [clang] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -491,19 +491,41 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[Lldb-commits] [clang] [lld] [llvm] [libc] [flang] [libcxx] [compiler-rt] [clang-tools-extra] [lldb] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/73158 >From 13a26e8e7440c3b501730b22588af393a3e543cd Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Thu, 6 Jul 2023 08:07:45 +0100 Subject: [PATCH 1/3] [VPlan] Implement cloning of VPlans. This patch implements clonin

[Lldb-commits] [clang-tools-extra] [clang] [compiler-rt] [flang] [libcxx] [lldb] [lld] [llvm] [libc] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -2694,6 +2852,9 @@ class VPlan { /// been modeled in VPlan directly. DenseMap SCEVToExpansion; + /// Construct an uninitialized VPlan, should be used for cloning only. + explicit VPlan() = default; + fhahn wrote: Removed, thanks! https://github.com/

[Lldb-commits] [libcxx] [flang] [llvm] [clang] [lldb] [clang-tools-extra] [compiler-rt] [lld] [libc] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -614,6 +614,61 @@ void VPBasicBlock::print(raw_ostream &O, const Twine &Indent, printSuccessors(O, Indent); } #endif +static void cloneCFG(VPBlockBase *Entry, + DenseMap &Old2NewVPBlocks); fhahn wrote: Updated as suggested and renamed

[Lldb-commits] [clang] [lld] [llvm] [libc] [flang] [libcxx] [compiler-rt] [clang-tools-extra] [lldb] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -982,6 +1037,94 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap &Old2Ne

[Lldb-commits] [clang-tools-extra] [libc] [libcxx] [llvm] [compiler-rt] [lldb] [lld] [flang] [clang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -1594,6 +1657,13 @@ class VPWidenPHIRecipe : public VPHeaderPHIRecipe { addOperand(Start); } + VPRecipeBase *clone() override { +auto *Res = new VPWidenPHIRecipe(cast(getUnderlyingInstr()), fhahn wrote: Changed to `llvm_unreachable`, thanks!

[Lldb-commits] [libcxx] [libc] [compiler-rt] [clang-tools-extra] [lld] [llvm] [lldb] [clang] [flang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -982,6 +1037,94 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap &Old2Ne

[Lldb-commits] [lldb] [flang] [clang-tools-extra] [clang] [libc] [libcxx] [lld] [compiler-rt] [llvm] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -982,6 +1037,94 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap &Old2Ne

[Lldb-commits] [lld] [lldb] [libcxx] [compiler-rt] [clang-tools-extra] [llvm] [libc] [clang] [flang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -614,6 +614,61 @@ void VPBasicBlock::print(raw_ostream &O, const Twine &Indent, printSuccessors(O, Indent); } #endif +static void cloneCFG(VPBlockBase *Entry, + DenseMap &Old2NewVPBlocks); + +static VPBlockBase *cloneVPB(VPBlockBase *BB) { + if (auto

[Lldb-commits] [llvm] [clang-tools-extra] [libcxx] [lld] [compiler-rt] [libc] [clang] [flang] [lldb] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -614,6 +614,61 @@ void VPBasicBlock::print(raw_ostream &O, const Twine &Indent, printSuccessors(O, Indent); } #endif +static void cloneCFG(VPBlockBase *Entry, + DenseMap &Old2NewVPBlocks); + +static VPBlockBase *cloneVPB(VPBlockBase *BB) { + if (auto

[Lldb-commits] [lld] [lldb] [clang-tools-extra] [clang] [libcxx] [libc] [flang] [llvm] [compiler-rt] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -614,6 +614,61 @@ void VPBasicBlock::print(raw_ostream &O, const Twine &Indent, printSuccessors(O, Indent); } #endif +static void cloneCFG(VPBlockBase *Entry, + DenseMap &Old2NewVPBlocks); + +static VPBlockBase *cloneVPB(VPBlockBase *BB) {

[Lldb-commits] [flang] [llvm] [libcxx] [clang] [compiler-rt] [lld] [clang-tools-extra] [libc] [lldb] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -982,6 +1037,94 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap &Old2Ne

[Lldb-commits] [libcxxabi] [clang] [libc] [lld] [flang] [clang-tools-extra] [lldb] [libcxx] [compiler-rt] [llvm] [libclc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/78113 >From 36b085f21b76d7bf7c9965a86a09d1cef4fe9329 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Sun, 14 Jan 2024 14:13:08 + Subject: [PATCH 1/8] [VPlan] Add new VPUniformPerUFRecipe, use for step truncation.

[Lldb-commits] [libc] [llvm] [lld] [lldb] [libcxx] [clang-tools-extra] [clang] [flang] [libcxxabi] [libclc] [compiler-rt] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn edited https://github.com/llvm/llvm-project/pull/78113 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [lld] [libclc] [libcxxabi] [libc] [libcxx] [clang-tools-extra] [flang] [llvm] [compiler-rt] [lldb] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -491,17 +491,39 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[Lldb-commits] [compiler-rt] [libcxx] [llvm] [clang] [clang-tools-extra] [flang] [libc] [lld] [lldb] [libcxxabi] [libclc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -491,17 +491,39 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[Lldb-commits] [libcxx] [llvm] [libcxxabi] [clang] [clang-tools-extra] [flang] [libclc] [lld] [compiler-rt] [lldb] [libc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -491,19 +491,41 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[Lldb-commits] [clang] [clang-tools-extra] [lld] [libcxxabi] [lldb] [llvm] [compiler-rt] [libc] [libcxx] [libclc] [flang] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn commented: Missed comments should be addressed now, seems I missed them in the GitHub UI somehow https://github.com/llvm/llvm-project/pull/78113 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/

[Lldb-commits] [clang] [compiler-rt] [flang] [libcxx] [libc] [lldb] [lld] [libcxxabi] [llvm] [libclc] [clang-tools-extra] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -491,19 +491,41 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[Lldb-commits] [lld] [llvm] [clang] [flang] [libc] [libclc] [lldb] [libcxx] [libcxxabi] [clang-tools-extra] [compiler-rt] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -491,19 +491,41 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[Lldb-commits] [libcxxabi] [lld] [llvm] [lldb] [compiler-rt] [clang-tools-extra] [libc] [libclc] [flang] [libcxx] [clang] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -491,17 +491,39 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[Lldb-commits] [compiler-rt] [lld] [lldb] [clang] [libcxx] [llvm] [libcxxabi] [flang] [clang-tools-extra] [libc] [libclc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/78113 >From 36b085f21b76d7bf7c9965a86a09d1cef4fe9329 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Sun, 14 Jan 2024 14:13:08 + Subject: [PATCH 1/8] [VPlan] Add new VPUniformPerUFRecipe, use for step truncation.

[Lldb-commits] [clang-tools-extra] [flang] [llvm] [libcxx] [clang] [libcxxabi] [compiler-rt] [libc] [lldb] [lld] [libclc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-26 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/78113 >From 36b085f21b76d7bf7c9965a86a09d1cef4fe9329 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Sun, 14 Jan 2024 14:13:08 + Subject: [PATCH 1/9] [VPlan] Add new VPUniformPerUFRecipe, use for step truncation.

[Lldb-commits] [clang-tools-extra] [flang] [llvm] [libcxx] [clang] [libcxxabi] [compiler-rt] [libc] [lldb] [lld] [libclc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-26 Thread Florian Hahn via lldb-commits
@@ -491,17 +491,38 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[Lldb-commits] [compiler-rt] [flang] [lld] [mlir] [libc] [libcxxabi] [libcxx] [lldb] [clang] [openmp] [llvm] [libclc] [clang-tools-extra] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (

2024-01-26 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/78113 >From 36b085f21b76d7bf7c9965a86a09d1cef4fe9329 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Sun, 14 Jan 2024 14:13:08 + Subject: [PATCH 1/9] [VPlan] Add new VPUniformPerUFRecipe, use for step truncation.

[Lldb-commits] [compiler-rt] [flang] [lld] [mlir] [libc] [libcxxabi] [libcxx] [lldb] [clang] [openmp] [llvm] [libclc] [clang-tools-extra] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (

2024-01-26 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/78113 >From 36b085f21b76d7bf7c9965a86a09d1cef4fe9329 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Sun, 14 Jan 2024 14:13:08 + Subject: [PATCH 01/10] [VPlan] Add new VPUniformPerUFRecipe, use for step truncation.

[Lldb-commits] [compiler-rt] [flang] [lld] [libc] [libcxx] [lldb] [clang] [llvm] [clang-tools-extra] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-26 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/73158 >From 13a26e8e7440c3b501730b22588af393a3e543cd Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Thu, 6 Jul 2023 08:07:45 +0100 Subject: [PATCH 1/3] [VPlan] Implement cloning of VPlans. This patch implements clonin

[Lldb-commits] [openmp] [libclc] [clang] [compiler-rt] [llvm] [flang] [libcxx] [lld] [clang-tools-extra] [mlir] [lldb] [libcxxabi] [libc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (

2024-01-26 Thread Florian Hahn via lldb-commits
@@ -491,17 +491,39 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[Lldb-commits] [libcxx] [clang] [mlir] [llvm] [clang-tools-extra] [openmp] [flang] [libclc] [lld] [lldb] [libcxxabi] [compiler-rt] [libc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (

2024-01-26 Thread Florian Hahn via lldb-commits
https://github.com/fhahn closed https://github.com/llvm/llvm-project/pull/78113 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [libcxx] [clang] [llvm] [clang-tools-extra] [flang] [lld] [lldb] [compiler-rt] [libc] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-26 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/73158 >From 13a26e8e7440c3b501730b22588af393a3e543cd Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Thu, 6 Jul 2023 08:07:45 +0100 Subject: [PATCH 1/4] [VPlan] Implement cloning of VPlans. This patch implements clonin

[Lldb-commits] [libc] [lld] [llvm] [lldb] [clang-tools-extra] [clang] [flang] [compiler-rt] [libcxx] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-26 Thread Florian Hahn via lldb-commits
@@ -982,6 +1037,92 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap &Old2Ne

[Lldb-commits] [clang] [lld] [libc] [flang] [lldb] [libcxx] [clang-tools-extra] [llvm] [compiler-rt] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-26 Thread Florian Hahn via lldb-commits
@@ -982,6 +1037,92 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap &Old2Ne

[Lldb-commits] [clang-tools-extra] [libcxx] [flang] [lld] [lldb] [libc] [llvm] [compiler-rt] [clang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-26 Thread Florian Hahn via lldb-commits
@@ -982,6 +1037,92 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, fhahn wrote: I left it as

[Lldb-commits] [libc] [clang] [flang] [clang-tools-extra] [compiler-rt] [llvm] [libcxx] [lld] [lldb] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-26 Thread Florian Hahn via lldb-commits
@@ -982,6 +1037,92 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap &Old2Ne

[Lldb-commits] [llvm] [clang] [flang] [compiler-rt] [clang-tools-extra] [libcxx] [lldb] [libc] [lld] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-26 Thread Florian Hahn via lldb-commits
@@ -982,6 +1037,92 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap &Old2Ne

[Lldb-commits] [libcxx] [lldb] [clang] [compiler-rt] [libc] [lld] [llvm] [flang] [clang-tools-extra] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-26 Thread Florian Hahn via lldb-commits
@@ -614,6 +614,61 @@ void VPBasicBlock::print(raw_ostream &O, const Twine &Indent, printSuccessors(O, Indent); } #endif +static void cloneCFG(VPBlockBase *Entry, + DenseMap &Old2NewVPBlocks); + +static VPBlockBase *cloneVPB(VPBlockBase *BB) {

[Lldb-commits] [lld] [clang-tools-extra] [libcxx] [flang] [clang] [libc] [lldb] [compiler-rt] [llvm] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-27 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/73158 >From 13a26e8e7440c3b501730b22588af393a3e543cd Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Thu, 6 Jul 2023 08:07:45 +0100 Subject: [PATCH 1/4] [VPlan] Implement cloning of VPlans. This patch implements clonin

[Lldb-commits] [lld] [clang-tools-extra] [libcxx] [flang] [clang] [libc] [lldb] [compiler-rt] [llvm] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-27 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/73158 >From 13a26e8e7440c3b501730b22588af393a3e543cd Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Thu, 6 Jul 2023 08:07:45 +0100 Subject: [PATCH 1/5] [VPlan] Implement cloning of VPlans. This patch implements clonin

[Lldb-commits] [libc] [compiler-rt] [llvm] [lldb] [flang] [clang-tools-extra] [lld] [libcxx] [clang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-27 Thread Florian Hahn via lldb-commits
https://github.com/fhahn closed https://github.com/llvm/llvm-project/pull/73158 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [llvm] [libcxx] [lldb] [compiler-rt] [flang] [libc] [clang] [lld] [clang-tools-extra] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-28 Thread Florian Hahn via lldb-commits
fhahn wrote: @Enna1 thanks, should be fixed by 1b37e8087e1e1ecf5aadd8da536ee17dc21832e2. Bot should be back to green https://github.com/llvm/llvm-project/pull/73158 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-b

[Lldb-commits] [lld] [libc] [clang-tools-extra] [lldb] [libcxxabi] [clang] [flang] [llvm] [SCEVExp] Keep NUW/NSW if both original inc and isomporphic inc agree. (PR #79512)

2024-02-01 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/79512 >From 299a055e271264f918321bf7360ee37c6ede8b26 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Tue, 23 Jan 2024 13:39:38 + Subject: [PATCH] [SCEVExp] Keep NUW/NSW if both original inc and isomporphic inc agre

[Lldb-commits] [lld] [libc] [clang-tools-extra] [lldb] [libcxxabi] [clang] [flang] [llvm] [SCEVExp] Keep NUW/NSW if both original inc and isomporphic inc agree. (PR #79512)

2024-02-01 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/79512 >From 299a055e271264f918321bf7360ee37c6ede8b26 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Tue, 23 Jan 2024 13:39:38 + Subject: [PATCH 1/2] [SCEVExp] Keep NUW/NSW if both original inc and isomporphic inc

[Lldb-commits] [flang] [clang] [libcxxabi] [clang-tools-extra] [llvm] [lld] [libc] [lldb] [SCEVExp] Keep NUW/NSW if both original inc and isomporphic inc agree. (PR #79512)

2024-02-01 Thread Florian Hahn via lldb-commits
https://github.com/fhahn closed https://github.com/llvm/llvm-project/pull/79512 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lld] [libunwind] [libcxxabi] [libcxx] [compiler-rt] [llvm] [flang] [mlir] [clang-tools-extra] [lldb] [clang] [Passes] Disable code sinking in InstCombine early on. (PR #72567)

2023-11-17 Thread Florian Hahn via lldb-commits
https://github.com/fhahn edited https://github.com/llvm/llvm-project/pull/72567 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] b4583a5 - Revert "Allow signposts to take advantage of deferred string substitution"

2021-06-12 Thread Florian Hahn via lldb-commits
Author: Florian Hahn Date: 2021-06-12T12:08:25+01:00 New Revision: b4583a5ad73b633c3eac5ffbad93f2405e1418ab URL: https://github.com/llvm/llvm-project/commit/b4583a5ad73b633c3eac5ffbad93f2405e1418ab DIFF: https://github.com/llvm/llvm-project/commit/b4583a5ad73b633c3eac5ffbad93f2405e1418ab.diff

Re: [Lldb-commits] [PATCH] D81978: Redo of Add terminateCommands to lldb-vscode protocol

2020-07-02 Thread Florian Hahn via lldb-commits
> On Jun 24, 2020, at 15:48, Walter wrote: > > I'll revert this patch. This seems to be the reason Great thanks! What’s puzzling is that on some runs, it seems to find , but on others it does not. Cheers, Florian ___ lldb-commits mailing list lldb