From ddf4026dd85d7c8c2e5d1bc58f872a1f9b1dde84 Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Thu, 13 Nov 2014 15:40:20 +0000 Subject: [PATCH] [Reassociate] Update comment. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221894 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/Reassociate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Scalar/Reassociate.cpp b/lib/Transforms/Scalar/Reassociate.cpp index a24d3d454f6..baa6b08fde4 100644 --- a/lib/Transforms/Scalar/Reassociate.cpp +++ b/lib/Transforms/Scalar/Reassociate.cpp @@ -1953,7 +1953,7 @@ Instruction *Reassociate::canonicalizeNegConstExpr(Instruction *I) { 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) -- 2.34.1