projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9731c7a
)
[Reassociate] Update comment. NFC.
author
Chad Rosier
<mcrosier@codeaurora.org>
Thu, 13 Nov 2014 15:40:20 +0000
(15:40 +0000)
committer
Chad Rosier
<mcrosier@codeaurora.org>
Thu, 13 Nov 2014 15:40:20 +0000
(15:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221894
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/Reassociate.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/Reassociate.cpp
b/lib/Transforms/Scalar/Reassociate.cpp
index a24d3d454f64537addeea96aebfe3ba895169be8..baa6b08fde4e5f51f3248e9da47fe1b637815c00 100644
(file)
--- 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)