[PATCH] D125066: [AVR][NFC] Eliminate warning 'unused variable'
Ben Shi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 5 23:15:50 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe2ed3fd71e08: [AVR][NFC] Eliminate warning 'unused variable' (authored by benshi001).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125066/new/
https://reviews.llvm.org/D125066
Files:
llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
Index: llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
===================================================================
--- llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
+++ llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
@@ -1219,6 +1219,7 @@
assert(STI.getFrameLowering()->hasReservedCallFrame(MF) &&
"unexpected STDSPQRr pseudo instruction");
+ (void)STI;
MI.setDesc(TII->get(AVR::STDPtrQRr));
MI.getOperand(0).setReg(AVR::R29R28);
@@ -1237,6 +1238,7 @@
assert(STI.getFrameLowering()->hasReservedCallFrame(MF) &&
"unexpected STDWSPQRr pseudo instruction");
+ (void)STI;
MI.setDesc(TII->get(AVR::STDWPtrQRr));
MI.getOperand(0).setReg(AVR::R29R28);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125066.427532.patch
Type: text/x-patch
Size: 694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220506/984133d0/attachment.bin>
More information about the llvm-commits
mailing list