[llvm] [LoopIdiomRecognizer] Implement CRC recognition (PR #79295)

Mark Zhuang via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 08:04:21 PDT 2024


================
@@ -0,0 +1,113 @@
+; RUN: opt -passes=loop-idiom < %s -S -debug -recognize-crc 2>&1 | FileCheck %s
+
+; crc16 incorrect xor inside loop
+; CHECK: loop-idiom CRCRegonize: Cannot verify check bit!
----------------
zqb-all wrote:

some `CRCRegonize `should fix to  `CRCRecognize `in this file

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


More information about the llvm-commits mailing list