[llvm] [AMDGPU] HasOneUse uses (PR #92534)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 06:42:24 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.
----------------
arsenm wrote:

I wouldn't bother spelling out the debug user case; it shouldn't be relevant much longer since debug instructions are going away 

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


More information about the llvm-commits mailing list