[PATCH] D89969: [SLP] Consider alternatives for cost of select instructions.

dmajor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 30 12:48:40 PDT 2020


dmajor added a comment.

This commit triggered an assertion failure on our 32-bit bots:

reduced.c:

  a, b, c;
  l() {
    int e = a, f = l, g, h, i, j;
    float *d = c, *k = b;
    for (;;)
      for (; g < f; g++) {
        k[h] = d[i];
        k[h - 1] = d[j];
        h += e << 1;
        i += e;
      }
  }



  clang -cc1 -triple i386-unknown-linux-gnu -emit-obj -target-cpu pentium-m -O1 -vectorize-loops -vectorize-slp reduced.c
  
  llvm::Type *llvm::Type::getWithNewBitWidth(unsigned int) const: Assertion `isIntOrIntVectorTy() && "Original type expected to be a vector of integers or a scalar integer."' failed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89969/new/

https://reviews.llvm.org/D89969



More information about the llvm-commits mailing list