Skip to content

Assertion failed: ((Lower != Upper || (Lower.isMaxValue() || Lower.isMinValue())) && "Lower == Upper, but they aren't min or max value!") #63856

Closed
@dcci

Description

@dcci
// $CLANG -Os compressed.cpp
struct info {
  info();
  int length;
};

struct tile {
  void init();
  int num_steps;
  info *step_info;
  float *coefficients, *coefficients_flipped;
};

void tile::init() {
  int i, j;
  new info[num_steps];
  for (i = 0, j = 0; j < num_steps; j++)
    i += step_info[j].length;
  coefficients_flipped = new float[i];
  for (; 0 < num_steps;)
    for (int k = 0;; k++)
      coefficients_flipped[k] = coefficients[-k];
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    crashPrefer [crash-on-valid] or [crash-on-invalid]llvm:SCEVScalar Evolution

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions