[llvm] [AMDGPU] Remove unnecessary untieRegOperand (PR #107695)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 7 05:16:54 PDT 2024
https://github.com/jayfoad created https://github.com/llvm/llvm-project/pull/107695
As far as I can tell, V_SET_INACTIVE has never had tied operands.
>From c1e106c4c5906be587933739e19370d0716dd0f3 Mon Sep 17 00:00:00 2001
From: Jay Foad <jay.foad at amd.com>
Date: Sat, 7 Sep 2024 13:15:25 +0100
Subject: [PATCH] [AMDGPU] Remove unnecessary untieRegOperand
As far as I can tell, V_SET_INACTIVE has never had tied operands.
---
llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp | 1 -
1 file changed, 1 deletion(-)
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);
}
More information about the llvm-commits
mailing list