Skip to content

Commit 6c84d64

Browse files
authored
[IR][NFC] Remove obsolete comments in BinaryOperator::swapOperands (llvm#125819)
Closes llvm#125438
1 parent 8cb3d7b commit 6c84d64

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/IR/Instructions.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2702,8 +2702,7 @@ BinaryOperator *BinaryOperator::CreateNot(Value *Op, const Twine &Name,
27022702

27032703
// Exchange the two operands to this instruction. This instruction is safe to
27042704
// use on any binary instruction and does not modify the semantics of the
2705-
// instruction. If the instruction is order-dependent (SetLT f.e.), the opcode
2706-
// is changed.
2705+
// instruction.
27072706
bool BinaryOperator::swapOperands() {
27082707
if (!isCommutative())
27092708
return true; // Can't commute operands

0 commit comments

Comments
 (0)