[llvm] [AMDGPU] Use HasClamp instead of HasIntClamp in VOP3_Pseudo. NFC. (PR #82020)

via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 16 10:31:00 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-amdgpu

Author: Stanislav Mekhanoshin (rampitec)

<details>
<summary>Changes</summary>

There is no real reason to differentiate.

---
Full diff: https://github.com/llvm/llvm-project/pull/82020.diff


1 Files Affected:

- (modified) llvm/lib/Target/AMDGPU/VOPInstructions.td (+1-1) 


``````````diff
diff --git a/llvm/lib/Target/AMDGPU/VOPInstructions.td b/llvm/lib/Target/AMDGPU/VOPInstructions.td
index f2bb58ed4c3b56..dc6a48b1df7472 100644
--- a/llvm/lib/Target/AMDGPU/VOPInstructions.td
+++ b/llvm/lib/Target/AMDGPU/VOPInstructions.td
@@ -161,7 +161,7 @@ class VOP3_Pseudo <string opName, VOPProfile P, list<dag> pattern = [],
   let AsmMatchConverter =
     !if(isVOP3P,
         "cvtVOP3P",
-        !if(!or(P.HasModifiers, P.HasOMod, P.HasIntClamp),
+        !if(!or(P.HasModifiers, P.HasOMod, P.HasClamp),
             "cvtVOP3",
             ""));
 }

``````````

</details>


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


More information about the llvm-commits mailing list