Skip to content

Commit

Permalink
AVRExpandPseudoInsts.cpp: Fix a warning. [-Wunused-but-set-variable]
Browse files Browse the repository at this point in the history
It has been enabled since llvmorg-15-init-5683-g2af845a6519c, aka D122271.
  • Loading branch information
chapuni committed Apr 29, 2022
1 parent 7a0b897 commit 61d3a3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp
Expand Up @@ -141,6 +141,7 @@ bool AVRExpandPseudo::runOnMachineFunction(MachineFunction &MF) {
// Continue expanding the block until all pseudos are expanded.
do {
assert(ExpandCount < 10 && "pseudo expand limit reached");
(void)ExpandCount;

bool BlockModified = expandMBB(MBB);
Modified |= BlockModified;
Expand Down

0 comments on commit 61d3a3a

Please sign in to comment.