[llvm] 9f430bd - Revert "[SystemZ] Fix a warning"
Ulrich Weigand via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 6 15:56:22 PST 2024
Author: Ulrich Weigand
Date: 2024-12-07T00:55:41+01:00
New Revision: 9f430bd415f462c2b7e32d895eab02c5c2207657
URL: https://github.com/llvm/llvm-project/commit/9f430bd415f462c2b7e32d895eab02c5c2207657
DIFF: https://github.com/llvm/llvm-project/commit/9f430bd415f462c2b7e32d895eab02c5c2207657.diff
LOG: Revert "[SystemZ] Fix a warning"
This reverts commit 3c47e63723b1aa9e76f30fc8d1acef9caf4ea783.
Added:
Modified:
llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
index add52b4efd7112..67abc714287e2c 100644
--- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
@@ -961,7 +961,6 @@ SystemZTargetLowering::emitEHSjLjSetJmp(MachineInstr &MI,
Register DstReg = MI.getOperand(0).getReg();
const TargetRegisterClass *RC = MRI.getRegClass(DstReg);
assert(TRI->isTypeLegalForClass(*RC, MVT::i32) && "Invalid destination!");
- (void)TRI;
Register mainDstReg = MRI.createVirtualRegister(RC);
Register restoreDstReg = MRI.createVirtualRegister(RC);
More information about the llvm-commits
mailing list