[all-commits] [llvm/llvm-project] e512df: [LV] Fix crash when vectorizing function calls wit...

Alexandros Lamprineas via All-commits all-commits at lists.llvm.org
Tue Jan 2 10:14:30 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e512df3ecca4b2328ac1efd7de6c6efefde249d7
      https://github.com/llvm/llvm-project/commit/e512df3ecca4b2328ac1efd7de6c6efefde249d7
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2024-01-02 (Tue, 02 Jan 2024)

  Changed paths:
    M llvm/lib/Analysis/VectorUtils.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/vector-call-linear-args.ll

  Log Message:
  -----------
  [LV] Fix crash when vectorizing function calls with linear args. (#76274)

llvm/lib/IR/Type.cpp:694:
    Assertion `isValidElementType(ElementType) && "Element type of a
    VectorType must be an integer, floating point, or pointer type."'
    failed.
Stack dump:
    llvm::FixedVectorType::get(llvm::Type*, unsigned int)
    llvm::VPWidenCallRecipe::execute(llvm::VPTransformState&)
    llvm::VPBasicBlock::execute(llvm::VPTransformState*)
    llvm::VPRegionBlock::execute(llvm::VPTransformState*)
    llvm::VPlan::execute(llvm::VPTransformState*)
    ...

Happens with function calls of void return type.




More information about the All-commits mailing list