[llvm] [AMDGPU] Remove unnecessary untieRegOperand (PR #107695)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 7 05:17:31 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-amdgpu
Author: Jay Foad (jayfoad)
<details>
<summary>Changes</summary>
As far as I can tell, V_SET_INACTIVE has never had tied operands.
---
Full diff: https://github.com/llvm/llvm-project/pull/107695.diff
1 Files Affected:
- (modified) llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp (-1)
``````````diff
diff --git a/llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp b/llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
index bc4b1936cb7e38..f9d7ead4ff3ecc 100644
--- a/llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
+++ b/llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
@@ -1534,7 +1534,6 @@ bool SIWholeQuadMode::lowerCopyInstrs() {
if (MI->getOperand(2).isReg())
RecomputeReg = MI->getOperand(2).getReg();
MI->removeOperand(2);
- MI->untieRegOperand(1);
} else {
assert(MI->getNumExplicitOperands() == 2);
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/107695
More information about the llvm-commits
mailing list