Skip to content

Commit b58e388

Browse files
committed
swap operands in comment
1 parent 98e655c commit b58e388

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,7 @@ Instruction *InstCombinerImpl::foldICmpWithZero(ICmpInst &Cmp) {
13221322

13231323
/// Fold icmp eq (num + (val - 1)) & -val, num
13241324
/// to
1325-
/// icmp eq 0, (and num, val - 1)
1325+
/// icmp eq (and num, val - 1), 0
13261326
/// For val being power of two
13271327
Instruction *InstCombinerImpl::foldIsMultipleOfAPowerOfTwo(ICmpInst &Cmp) {
13281328
Value *Num;

0 commit comments

Comments
 (0)