[all-commits] [llvm/llvm-project] 3c5144: [Attributor] Fix an issue that could potentially c...

Shilei Tian via All-commits all-commits at lists.llvm.org
Mon Aug 26 22:36:40 PDT 2024


  Branch: refs/heads/users/shiltian/out-of-sync
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c514420c3f915707528c5e44a67418819e2bb9e
      https://github.com/llvm/llvm-project/commit/3c514420c3f915707528c5e44a67418819e2bb9e
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/Attributor.h

  Log Message:
  -----------
  [Attributor] Fix an issue that could potentially cause `AccessList` and `OffsetBins` out of  sync

The implementation of `AAPointerInfo::RangeList::set_difference` doesn't
consider the case where two ranges have the same offset but different sizes.
This could causes `AccessList` and `OffsetBins` out of sync because a range has
been already updated in `AccessList` but missing in `ToRemove`.

I do have a reproducer but the reproducer itself is 248kb. `llvm-reduce` can't
further reduce it. Not sure how I can make a smaller reproducer.

Fix SWDEV-479757.



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