kartcq

Results issues of kartcq

Loop vectorizer aborts with assertion failure on hitting store instruction in a loop ```console virtual void llvm::VPReplicateRecipe::execute(llvm::VPTransformState &): Assertion `!State.VF.isScalable() && "Can't scalarize a scalable vector"' failed. ``` I have...

vectorizers
crash

Here is the reduced test : [https://godbolt.org/](https://godbolt.org/) There is a **br** instruction (line 16) at end of the **entry** block which is suppose to **read the NZCV flag** edited by...

backend:AArch64
llvm:codegen
miscompilation

SimplifyCFG does not fold a triangle+diamond CFG pattern where multiple branches unconditionally store to the same address. The pattern arises commonly in loops with cascaded range checks. Motivating Example: ```...

llvm:optimizations
missed-optimization

## Summary The Loop Vectorizer fails to form a factor-2 interleaved store group when two stride-2 store pointers are carried across an outer loop. The cost model then sees the...

vectorizers
missed-optimization

### Description After commit a6af12620778f4a2da2d14219f21a0935685ea3b ("Analysis Use CycleInfo for BlockFrequencyInfo (#213488)"), opt crashes with an assertion failure when running LoopVectorizePass on functions with multiple loops. ### Stack Trace ``` opt:...

vectorizers
confirmed
crash-on-valid
regression:24

A profitable SLP vectorization present in 22.x is missing in 23.x, causing a performance regression in downstream benchmarks. The missing vectorization is SLP vectorized with cost ** and with tree...

llvm:SLPVectorizer
regression:23

The loop vectorizer rejects a loop containing an if/else diamond where one branch writes c[i+1] and the other reads c[i]. LAA reports a backward dependence with distance 1 between these...

missed-optimization
llvm:loopvectorize

The loop vectorizer emits a SCEV wrap predicate runtime check for narrow induction variables widened by the frontend via integer promotion. The check prevents vectorization when the trip count exceeds...

missed-optimization
llvm:loopvectorize

On `-mcpu=spacemit-x100` , SLP vectorizes the loop below and the result runs **2.6x slower** than `-fno-slp-vectorize`, even though it executes fewer instructions. The SLP cost model reports a solid win...

backend:RISC-V
performance
llvm:SLPVectorizer