[all-commits] [llvm/llvm-project] 360f82: [Lint] Fix crash for insert/extract on scalable ve...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Sep 4 03:49:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 360f82f3703fa57de42a2f998b172551f294e11a
      https://github.com/llvm/llvm-project/commit/360f82f3703fa57de42a2f998b172551f294e11a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-09-04 (Wed, 04 Sep 2024)

  Changed paths:
    M llvm/lib/Analysis/Lint.cpp
    M llvm/test/Analysis/Lint/scalable.ll

  Log Message:
  -----------
  [Lint] Fix crash for insert/extract on scalable vector

Don't assume the vector is fixed size. For scalable vectors, do
not report an error, as indices outside the minimum range may be
valid.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list