Skip to content

Commit 59ab098

Browse files
committed
Remove unused variable
1 parent 350b847 commit 59ab098

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/utils/TableGen/DecoderEmitter.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -721,15 +721,12 @@ void DecoderEmitter::emitTable(formatted_raw_ostream &OS,
721721
return Value;
722722
};
723723

724-
unsigned OpcodeMask = 0;
725-
726724
while (I != E) {
727725
assert(I < E && "incomplete decode table entry!");
728726

729727
uint32_t Pos = I - Table.begin();
730728
EmitPos(Pos);
731729
const uint8_t DecoderOp = *I++;
732-
OpcodeMask |= (1 << DecoderOp);
733730
OS << getDecoderOpName(static_cast<DecoderOps>(DecoderOp)) << ", ";
734731
switch (DecoderOp) {
735732
default:

0 commit comments

Comments
 (0)