[llvm] Hasoneuse uses (PR #92534)
Pierre van Houtryve via llvm-commits
llvm-commits at lists.llvm.org
Fri May 17 05:59:27 PDT 2024
================
@@ -884,6 +884,9 @@ class PatFrags<dag ops, list<dag> frags, code pred = [{}],
// If set to true, a predicate is added that checks for the absence of use of
// the first result.
bit HasNoUse = ?;
+ // If set to true, a predicate is added that checks for the sole use of
+ // the first result.
----------------
Pierre-vh wrote:
```suggestion
// If set to true, a predicate is added that checks for that the first result only has one non-debug user.
```
https://github.com/llvm/llvm-project/pull/92534
More information about the llvm-commits
mailing list