[llvm] Hasoneuse uses (PR #92534)

Pierre van Houtryve via llvm-commits llvm-commits at lists.llvm.org
Fri May 17 05:59:28 PDT 2024


================
@@ -1691,6 +1692,28 @@ class NoUsePredicateMatcher : public InstructionPredicateMatcher {
   }
 };
 
+/// Generates code to check for the sole use of the result.
----------------
Pierre-vh wrote:

```suggestion
/// Generates code to check that the first result has only one non-debug user.
```

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


More information about the llvm-commits mailing list