[all-commits] [llvm/llvm-project] 027b20: [BasicAA] Gracefully handle large LocationSize (#1...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue May 6 05:20:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 027b2038140f309467585298f9cb10d6b37411e7
      https://github.com/llvm/llvm-project/commit/027b2038140f309467585298f9cb10d6b37411e7
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp
    A llvm/test/Analysis/BasicAA/size-overflow.ll

  Log Message:
  -----------
  [BasicAA] Gracefully handle large LocationSize (#138528)

If the LocationSize is larger than the index space of the pointer type,
bail out instead of triggering an APInt assertion.

Fixes the issue reported at
https://github.com/llvm/llvm-project/pull/119365#issuecomment-2849874894.



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