[llvm] r221894 - [Reassociate] Update comment. NFC.

Chad Rosier mcrosier at codeaurora.org
Thu Nov 13 07:40:21 PST 2014


Author: mcrosier
Date: Thu Nov 13 09:40:20 2014
New Revision: 221894

URL: http://llvm.org/viewvc/llvm-project?rev=221894&view=rev
Log:
[Reassociate] Update comment. NFC.

Modified:
    llvm/trunk/lib/Transforms/Scalar/Reassociate.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/Reassociate.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/Reassociate.cpp?rev=221894&r1=221893&r2=221894&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/Reassociate.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/Reassociate.cpp Thu Nov 13 09:40:20 2014
@@ -1953,7 +1953,7 @@ Instruction *Reassociate::canonicalizeNe
   if (!I->hasOneUse() || I->getType()->isVectorTy())
     return nullptr;
 
-  // Must be a mul instruction.
+  // Must be a mul, fmul, or fdiv instruction.
   unsigned Opcode = I->getOpcode();
   if (Opcode != Instruction::Mul && Opcode != Instruction::FMul &&
       Opcode != Instruction::FDiv)





More information about the llvm-commits mailing list