================ @@ -210,6 +210,9 @@ static Error isTrivialOperatorNode(const TreePatternNode &N) { if (Predicate.hasNoUse()) continue; + if (Predicate.hasOneUse()) ---------------- Pierre-vh wrote: Merge those with `||` ? https://github.com/llvm/llvm-project/pull/91578