Skip to content

Commit

Permalink
[NFC] Remove unused member variable PolicyBitMask in SemaRecord
Browse files Browse the repository at this point in the history
Coverity static analysis tool found PolicyBitMask being used
uninitialized in push_back call in RVVEmitter::createRVVIntrinsics()
but this variable has no uses.

Differential revision: https://reviews.llvm.org/D146847
  • Loading branch information
schittir committed Mar 27, 2023
1 parent 4eada0c commit 9972c9a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions clang/utils/TableGen/RISCVVEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ struct SemaRecord {
// Suffix of overloaded intrinsic name.
SmallVector<PrototypeDescriptor> OverloadedSuffix;

// BitMask for supported policies.
uint16_t PolicyBitMask;

// Number of field, large than 1 if it's segment load/store.
unsigned NF;

Expand Down

0 comments on commit 9972c9a

Please sign in to comment.