Skip to content

Commit 17c3f10

Browse files
[SystemZ] Fix an unused variable warning
This patch fixes: llvm/lib/Target/SystemZ/SystemZISelLowering.cpp:8181:9: error: unused variable 'TFL' [-Werror,-Wunused-variable]
1 parent 8a614c1 commit 17c3f10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/SystemZ/SystemZISelLowering.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8181,6 +8181,7 @@ SystemZTargetLowering::emitAdjCallStack(MachineInstr &MI,
81818181
auto *TFL = Subtarget.getFrameLowering<SystemZFrameLowering>();
81828182
assert(TFL->hasReservedCallFrame(MF) &&
81838183
"ADJSTACKDOWN and ADJSTACKUP should be no-ops");
8184+
(void)TFL;
81848185
// Get the MaxCallFrameSize value and erase MI since it serves no further
81858186
// purpose as the call frame is statically reserved in the prolog. Set
81868187
// AdjustsStack as MI is *not* mapped as a frame instruction.

0 commit comments

Comments
 (0)