Skip to content

[SLP, -slp-revec] Assertion ... "Vector size mismatch"' failed. #128169

@JonPsson1

Description

@JonPsson1
clang  -O3 -march=arch15 -S -c crash23_aftercreduce.c -o a.out -mllvm -slp-revec

cat crash23_aftercreduce.c 
unsigned a;
int b, c;
short d;
void e() {
  for (; a; ++a) {
    b = 0;
    for (; b <= 5; b++)
      c |= d-- > 9;
  }
}

#12 0x000002aa11869f96 llvm::slpvectorizer::BoUpSLP::getGatherCost

@HanKuanChen

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions