Skip to content

Clang crash with -mcpu=grace -O3 -msve-vector-bits=128: error in backend: Cannot scalarize scalable vector loads #102000

Open
@ktkachov

Description

@ktkachov

The following reduced testcase:

int a, d;
extern short b[];
long c;
void e(bool f[]) {
#pragma clang loop vectorize_predicate(enable)
  for (signed char g = 1; g < (char)d; g += 3) {
    a = f[g] ? c : 0;
    b[g] = 0;
  }
}

crashes for me with -mcpu=grace -O3 -msve-vector-bits=128:
error in backend: Cannot scalarize scalable vector loads

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions