[all-commits] [llvm/llvm-project] 073c27: Revert "[LV] Inline CreateSplatIV call for scalar ...

James Y Knight via All-commits all-commits at lists.llvm.org
Thu Jan 13 16:05:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 073c27b5e5851f13d99d383e047309299b68827d
      https://github.com/llvm/llvm-project/commit/073c27b5e5851f13d99d383e047309299b68827d
  Author: James Y Knight <jyknight at google.com>
  Date:   2022-01-14 (Fri, 14 Jan 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/float-induction.ll

  Log Message:
  -----------
  Revert "[LV] Inline CreateSplatIV call for scalar VFs (NFC)."

Causes a crash with the following (creduce'd) test-case:

clang -O3 '--target=aarch64-grtev4-linux-gnu' -xc - -c -o /dev/null <<EOF
int *e;
int f;
int g() {
  int h;
  int *j = 0;
  while (&f - j > 0) {
    int k;
    k = j;
    if (e == j && *e)
      k = 5;
    h = k;
    j++;
  }
  return h;
}
EOF

This reverts commit 7ce48be0fd83fb4fe3d0104f324bbbcfcc82983c.




More information about the All-commits mailing list