[PATCH] D147336: [IVDescriptors] Add pointer InductionDescriptors with non-constant strides (try 2)

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 31 10:42:09 PDT 2023


dmgreen added a comment.

This is the code producing the assert: https://godbolt.org/z/3a4drTheG. It has been ran through creduce and may be a bit over-reduced. It doesn't reproduce in godbolt, but does locally with `bin/clang -O3 -mcpu=neoverse-v1 -c reduce.c -target aarch64`.

  clang: llvm/lib/Transforms/Vectorize/VPlan.cpp:226: llvm::Value* llvm::VPTransformState::get(llvm::VPValue*, const llvm::VPIteration&): Assertion `Instance.Lane.isFirstLane() && "cannot get lane > 0 for scalar"' failed.

Let me know if it doesn't work and I can try and get something better that use opt.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147336



More information about the llvm-commits mailing list