[llvm] [HashRecognize] Fix LHS ConstantRange check for BE (PR #148620)

Piotr Fusik via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 3 23:22:49 PDT 2025


pfusik wrote:

> Pattern-matching a CRC is going to be inherently more fragile.

What exactly do you mean by "fragile" ? There's already pattern-matching for the shift, the XOR, the select and the compare.
I would prefer to have some CRCs not optimized than having non-CRC code miscompiled.

https://github.com/llvm/llvm-project/pull/148620


More information about the llvm-commits mailing list