[all-commits] [llvm/llvm-project] 6f68d0: [MemDepAnalysis] Don't reuse NonLocalPointerDeps c...

Arthur Eubanks via All-commits all-commits at lists.llvm.org
Thu Nov 21 09:25:33 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f68d039a5bdf11f6d7c84bed8d5a0da5950daef
      https://github.com/llvm/llvm-project/commit/6f68d039a5bdf11f6d7c84bed8d5a0da5950daef
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-11-21 (Thu, 21 Nov 2024)

  Changed paths:
    M llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
    M llvm/test/Analysis/MemoryDependenceAnalysis/load-size-cache.ll
    M llvm/test/Transforms/GVN/PRE/rle.ll

  Log Message:
  -----------
  [MemDepAnalysis] Don't reuse NonLocalPointerDeps cache if memory location size differs (#116936)

As seen in #111585, we can end up using a previous cache entry where the
size was too large and was UB.

Compile time impact:
https://llvm-compile-time-tracker.com/compare.php?from=6a863f7e2679a60f2f38ae6a920d0b6e1a2c1690&to=faccf4e1f47fcd5360a438de2a56d02b770ad498&stat=instructions:u.

Fixes #111585.



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