mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 06:09:05 +00:00
[Reassociate] Update comment. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221894 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9731c7a016
commit
ddf4026dd8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user