[llvm] [TableGen] HasOneUse builtin predicate on PatFrags (PR #91578)

Pierre van Houtryve via llvm-commits llvm-commits at lists.llvm.org
Mon May 13 01:33:06 PDT 2024


================
@@ -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


More information about the llvm-commits mailing list