[all-commits] [llvm/llvm-project] a695d6: [HashRecognize] Check TC against bitwidth of LHSAu...

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Thu Jul 3 10:07:37 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a695d6b9a726d0059d9bf80341ee567c1153286c
      https://github.com/llvm/llvm-project/commit/a695d6b9a726d0059d9bf80341ee567c1153286c
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2025-07-03 (Thu, 03 Jul 2025)

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

  Log Message:
  -----------
  [HashRecognize] Check TC against bitwidth of LHSAux (#144881)

The trip-count of a CRC algorithm can legitimately be greater than the
bitwidth of the result: what it cannot exceed is the bitwidth of the
data, or LHSAux. crc8.le.tc16 is now successfully recognized as a CRC
algorithm.



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