bababuck

Results issues of bababuck

Built info: Hash: `edc02351dd` Command: ``` $LLVM_DIR/bin/llc o3.ll -march=riscv64 -mattr=+v -O3 -o output.s ``` Trace: ``` PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump:...

backend:RISC-V
crash

### Why Are you requesting commit access ? Working with @mgudim at Ventana, would like to be able to hit the merge button for myself after getting reviews.

infra:commit-access-request

Not sure this is an issue or not, but seems incorrect from what I was able to gather. From the C-specification, ``` Pointer subtraction works by subtracting p1’s numeric value...

clang:codegen

@david-arm @ppenzin @hiraditya @mgudim Apologies if I missed anyone or tagged the wrong people. Opening the issue as a continuation of the discussion from the last vectorizer meeting as more...

vectorizers

I noticed we calculate the extraction cost differently in different places, I'm curious why we would want to use different models at these different times. When we are trying to...

question
llvm:SLPVectorizer

In the below example, there are two SLP reduction vectorization opportunities that share the same load. On their own, they are both profitable. However, when together, neither is able to...

enhancement
question
llvm:SLPVectorizer

When requesting cost information from `TargetTransformInfo` in the vectorizers, particular SLP, we request reciprocal throughput (`TCK_RecipThroughput`). However, `InstructionCost` only supports integer cost amounts, which doesn't align with reciprocal throughput on...

enhancement
llvm:SLPVectorizer
llvm:analysis

Looking at \`RISCVTTIImpl::getArithmeticInstrCost()\`, there is `// TODO: Handle scalar type` . Currently we just rely on the default to the base model for scalar cases. I'm hoping to move to...

backend:RISC-V

Division is costed as having a reciprocal throughput of `1` on the RISCV backend. Would expect a higher cost for divisions. `./bin/opt -mtriple=riscv64 -mattr=+m,+v -passes=slp-vectorizer t2.ll -debug-only=SLP -S` ```llvm define...

backend:RISC-V

Extracted from x264. This gets vectorized in the SLP vectorizer, and is predicted to be very profitable, `SLP: Found cost = -32 for VF=16`. However, we've found this to run...

backend:RISC-V