We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eb24fd commit 3de01d0Copy full SHA for 3de01d0
llvm/lib/TargetParser/TargetParser.cpp
@@ -56,7 +56,7 @@ std::optional<llvm::StringMap<bool>> llvm::getCPUDefaultTargetFeatures(
56
llvm::StringMap<bool> DefaultFeatures;
57
setImpliedBits(Bits, CPUEntry->Implies.getAsBitset(), ProcFeatures);
58
59
- unsigned BitSize = Bits.size();
+ [[maybe_unused]] unsigned BitSize = Bits.size();
60
for (const BasicSubtargetFeatureKV &FE : ProcFeatures) {
61
assert(FE.Value < BitSize && "Target Feature is out of range");
62
if (Bits[FE.Value])
0 commit comments