KavinTheG

Results comments of KavinTheG

Ah, I agree, your approach here would be better :sweat_smile:. Instead of a variant, could we instead modify the function signature in the header like so? ```C++ bool isKnownExactCastIntToFP(CastInst &I,...

My current solution is to modify `GenerateCrossUseConstantOffsets` to insert an additional formula where the immedaite (`-1`) is folded into the constant into the register (`-156249999`). However, `reg(-156250000) + 1*reg({1,+,1})` still...

@huntergr-arm, noticed from the git blame that you most recently worked on the `GenerateCrossUseConstantOffsets` function. Hoping you may have some insight as to whether my solution would be appropriate. :sweat_smile:...

I think I have a very tentative analysis? I believe the non-pow-of-2 commit is causing the basic block (the one responsible for 100% of issued instructions) in **n-body** to change...

Hey Alexey, is it alright if I can try to contribute to this as well? I have been investigating the n-body regression. If this is something you want to wrap...

cc @alexey-bataev I noticed after printing the elements in `Candidates` from `SmallVector Candidates(ReducedVals.back());` that the candidates are mainly PHI instructions. Perhaps a viable solution would be to bail out early...

If you're not in a hurry to wrap this up, would it be alright if I try taking a stab at this?

I think this may not be an issue from TTI. Looking at this snippet of the log. ``` SLP: Adding cost 15 for bundle Idx: 0, n=8 [ %24 =...

Is something like below inline with what you were thinking? We can scale the cost of TreeCost similar to how the ReductionCost does it in `getTreeCost`. ```diff diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp...