[all-commits] [llvm/llvm-project] 3bc9b2: [HashRecognize] Forbid optz when data.next has exi...

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Wed Oct 29 14:50:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bc9b28fe5bc3775229ceb6e498747970606d7d5
      https://github.com/llvm/llvm-project/commit/3bc9b28fe5bc3775229ceb6e498747970606d7d5
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2025-10-29 (Wed, 29 Oct 2025)

  Changed paths:
    M llvm/lib/Analysis/HashRecognize.cpp
    M llvm/test/Analysis/HashRecognize/cyclic-redundancy-check.ll
    M llvm/test/Transforms/LoopIdiom/cyclic-redundancy-check.ll

  Log Message:
  -----------
  [HashRecognize] Forbid optz when data.next has exit-block user (#165574)

The CRC optimization relies on stripping the auxiliary data completely,
and should hence be forbidden when it has a user in the exit-block.
Forbid this case, fixing a miscompile.

Fixes #165382.



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