[all-commits] [llvm/llvm-project] b0f0aa: [AArch64] Guard against a invalid size request in ...

David Green via All-commits all-commits at lists.llvm.org
Fri Sep 15 06:04:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0f0aa852d074441fc4dafc138a9cffc3d083dbc
      https://github.com/llvm/llvm-project/commit/b0f0aa852d074441fc4dafc138a9cffc3d083dbc
  Author: David Green <david.green at arm.com>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    A llvm/test/CodeGen/AArch64/sve-vecreduce-dot.ll

  Log Message:
  -----------
  [AArch64] Guard against a invalid size request in performVecReduceAddCombine

With both +sve and +dotprod, and a scalable vecreduce(sext) we could attempt to
access the number of elements of a scalable vector. Guard against this for now,
until scalable dotprod are properly supported.




More information about the All-commits mailing list