[all-commits] [llvm/llvm-project] 3036de: [LoopCacheAnalysis] Fix crash after #164798 (#169486)

Ryotaro Kasuga via All-commits all-commits at lists.llvm.org
Wed Nov 26 03:16:36 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3036de77239f0b29b3619ff6e468ccf5845c7e91
      https://github.com/llvm/llvm-project/commit/3036de77239f0b29b3619ff6e468ccf5845c7e91
  Author: Ryotaro Kasuga <kasuga.ryotaro at fujitsu.com>
  Date:   2025-11-26 (Wed, 26 Nov 2025)

  Changed paths:
    M llvm/lib/Analysis/LoopCacheAnalysis.cpp
    A llvm/test/Analysis/LoopCacheAnalysis/crash-after-pr164798.ll

  Log Message:
  -----------
  [LoopCacheAnalysis] Fix crash after #164798 (#169486)

Fix the assertion failure after #164798. The issue is that the
comparison `Sizes.back() == ElementSize` can fail when their types are
different. We should cast them to the wider type before the comparison.



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