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 98e655c commit b58e388Copy full SHA for b58e388
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
@@ -1322,7 +1322,7 @@ Instruction *InstCombinerImpl::foldICmpWithZero(ICmpInst &Cmp) {
1322
1323
/// Fold icmp eq (num + (val - 1)) & -val, num
1324
/// to
1325
-/// icmp eq 0, (and num, val - 1)
+/// icmp eq (and num, val - 1), 0
1326
/// For val being power of two
1327
Instruction *InstCombinerImpl::foldIsMultipleOfAPowerOfTwo(ICmpInst &Cmp) {
1328
Value *Num;
0 commit comments