Skip to content

Commit fa3fb8b

Browse files
author
git apple-llvm automerger
committed
Merge commit '2491dc3d6fa6' from llvm.org/main into next
2 parents 2cff14f + 2491dc3 commit fa3fb8b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Transforms/Utils/SimplifyCFG.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,8 @@ class SimplifyCFGOpt {
335335
// we synthesize a || b as select a, true, b
336336
// we synthesize a && b as select a, b, false
337337
// this function determines if SI is playing one of those roles.
338-
bool isSelectInRoleOfConjunctionOrDisjunction(const SelectInst *SI) {
338+
[[maybe_unused]] bool
339+
isSelectInRoleOfConjunctionOrDisjunction(const SelectInst *SI) {
339340
return ((isa<ConstantInt>(SI->getTrueValue()) &&
340341
(dyn_cast<ConstantInt>(SI->getTrueValue())->isOne())) ||
341342
(isa<ConstantInt>(SI->getFalseValue()) &&

0 commit comments

Comments
 (0)