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.
2 parents 2cff14f + 2491dc3 commit fa3fb8bCopy full SHA for fa3fb8b
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
@@ -335,7 +335,8 @@ class SimplifyCFGOpt {
335
// we synthesize a || b as select a, true, b
336
// we synthesize a && b as select a, b, false
337
// this function determines if SI is playing one of those roles.
338
-bool isSelectInRoleOfConjunctionOrDisjunction(const SelectInst *SI) {
+[[maybe_unused]] bool
339
+isSelectInRoleOfConjunctionOrDisjunction(const SelectInst *SI) {
340
return ((isa<ConstantInt>(SI->getTrueValue()) &&
341
(dyn_cast<ConstantInt>(SI->getTrueValue())->isOne())) ||
342
(isa<ConstantInt>(SI->getFalseValue()) &&
0 commit comments