[llvm] [HashRecognize] Recognize trunc-to-i1 little-endian bit check (PR #213883)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 4 02:55:12 PDT 2026


================
@@ -172,16 +173,24 @@ isSignificantBitCheckWellFormed(const RecurrenceInfo &ConditionalRecurrence,
   const Value *L;
   const APInt *R;
   Instruction *TV, *FV;
-  if (!match(SI, m_Select(m_ICmp(Pred, m_Value(L), m_APInt(R)),
----------------
artagnon wrote:

Just change this to m_SelectLike?

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


More information about the llvm-commits mailing list