diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-11-16 18:09:44 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-11-16 18:09:44 +0000 |
commit | 4ce99d4d240b2d7b400e7a8bb70d6c02e52ddb42 (patch) | |
tree | 573ff73e43013054cf0404f9d8cd8d7c9e1ab1df /llvm/lib/IR/Instructions.cpp | |
parent | cecb0183b297e0d483ca7154fd535c030bea39a9 (diff) | |
download | bcm5719-llvm-4ce99d4d240b2d7b400e7a8bb70d6c02e52ddb42.tar.gz bcm5719-llvm-4ce99d4d240b2d7b400e7a8bb70d6c02e52ddb42.zip |
fix comment formatting; NFC
llvm-svn: 287127
Diffstat (limited to 'llvm/lib/IR/Instructions.cpp')
-rw-r--r-- | llvm/lib/IR/Instructions.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/llvm/lib/IR/Instructions.cpp b/llvm/lib/IR/Instructions.cpp index 693879be181..b6792694342 100644 --- a/llvm/lib/IR/Instructions.cpp +++ b/llvm/lib/IR/Instructions.cpp @@ -2236,11 +2236,10 @@ const Value *BinaryOperator::getNotArgument(const Value *BinOp) { } -// swapOperands - Exchange the two operands to this instruction. This -// instruction is safe to use on any binary instruction and does not -// modify the semantics of the instruction. If the instruction is -// order dependent (SetLT f.e.) the opcode is changed. -// +// Exchange the two operands to this instruction. This instruction is safe to +// use on any binary instruction and does not modify the semantics of the +// instruction. If the instruction is order-dependent (SetLT f.e.), the opcode +// is changed. bool BinaryOperator::swapOperands() { if (!isCommutative()) return true; // Can't commute operands @@ -2253,9 +2252,6 @@ bool BinaryOperator::swapOperands() { // FPMathOperator Class //===----------------------------------------------------------------------===// -/// getFPAccuracy - Get the maximum error permitted by this operation in ULPs. -/// An accuracy of 0.0 means that the operation should be performed with the -/// default precision. float FPMathOperator::getFPAccuracy() const { const MDNode *MD = cast<Instruction>(this)->getMetadata(LLVMContext::MD_fpmath); |