mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-26 04:34:41 +00:00
fix comment formatting; NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287127 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
337558b55a
commit
b152eae659
@ -299,9 +299,9 @@ public:
|
||||
return FastMathFlags(SubclassOptionalData);
|
||||
}
|
||||
|
||||
/// \brief 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.
|
||||
/// 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 getFPAccuracy() const;
|
||||
|
||||
static inline bool classof(const Instruction *I) {
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user